DotMSN

TextMessage Methods

The methods of the TextMessage class are listed below. For a complete list of TextMessage class members, see the TextMessage Members topic.

Public Instance Methods

AppendArray (inherited from NetworkMessage) Helper method. Appends one array to the other. The second parameter, appendingArray, can be null. In that case the original byte array is returned and no copy is made.
CreateFromMessage Parses the header in the parent message and sets the style properties.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBytes Gets the header with the body appended as a byte array
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ParseBytes Sets the Text property.
PrepareMessage Sets the mime-headers in the MSGMessage object. This is the 'parent' message object.
ToDebugString (inherited from NetworkMessage) Textual presentation.
ToString Textual presentation.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetStyleString Gets the style string specifying charset, font, etc. This is used in the MIME header send with a switchboard message.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnInnerMessageSet (inherited from NetworkMessage) Called when the innermessage property is set. This sets the ParentMessage property on the inner message object
OnParentMessageSet (inherited from NetworkMessage) Called when the parent message is set. This sets the InnerMessage property on the parent message object.
ParseHeader Parses the raw header to set the member variables

See Also

TextMessage Class | XihSolutions.DotMSN Namespace