Click or drag to resize

Message Methods

The Message type exposes the following members.

Methods
  NameDescription
Public methodClear
Resets all the fields of this Message to their default value.
Public methodClearLabels
Removes all defined labels from this Message.
Public methodClearProperties
Removes all defined properties from this Message.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromStream
Decodes all the fields of this Message from supplied stream.
Public methodGetBoolean
Returns the boolean value of the property indexed by name.
Public methodGetByte
Returns the byte value of the property indexed by name.
Public methodGetBytes
Returns the bytes value of the property indexed by name.
Public methodGetDate
Returns the date value of the property indexed by name.
Public methodGetDecimal
Returns the decimal value of the property indexed by name.
Public methodGetDouble
Returns the double value of the property indexed by name.
Public methodGetFloat
Returns the float value of the property indexed by name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInteger
Returns the integer value of the property indexed by name.
Public methodGetLabel
Returns the value of the label indexed by key.
Public methodGetLabelKeys
Returns a read-only collection with all defined label keys.
Public methodGetLong
Returns the long value of the property indexed by name.
Public methodGetObjectT
Returns the object containing the data of this Message.
Public methodGetObjectT(String)
Returns the object value of the property indexed by name.
Public methodGetProperties
Returns a read-only dictionary with all defined properties.
Public methodGetPropertyNames
Returns a read-only collection with all defined property names.
Public methodGetShort
Returns the short value of the property indexed by name.
Public methodGetText
Returns the string value of the property indexed by name.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasLabel
Returns true if the label indexed by key is defined.
Public methodHasProperty
Returns true if the property with name is defined.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPutBoolean
Changes the boolean value of the property indexed by name. If value is null the property is removed.
Public methodPutByte
Changes the byte value of the property indexed by name. If value is null the property is removed.
Public methodPutBytes
Changes the bytes value of the property indexed by name. If value is null the property is removed.
Public methodPutDate
Changes the date value of the property indexed by name. If value is null the property is removed.
Public methodPutDecimal
Changes the big decimal value of the property indexed by name. If value is null the property is removed.
Public methodPutDouble
Changes the double value of the property indexed by name. If value is null the property is removed.
Public methodPutFloat
Changes the float value of the property indexed by name. If value is null the property is removed.
Public methodPutInteger
Changes the integer value of the property indexed by name. If value is null the property is removed.
Public methodPutLabel
Changes the value of the label indexed by key.
Public methodPutLong
Changes the long value of the property indexed by name. If value is null the property is removed.
Public methodPutObject(Object)
Changes the object containing the data of this Message.
Public methodPutObject(String, Object)
Changes the object value of the property indexed by name. If value is null the property is removed.
Public methodPutProperties
Copies all the properties of the message to this Message.
Public methodPutShort
Changes the short value of the property indexed by name. If value is null the property is removed.
Public methodPutText
Changes the string value of the property indexed by name. If value is null the property is removed.
Public methodRemoveLabel
Removes the label indexed by supplied key.
Public methodRemoveProperty
Removes the property indexed by name.
Public methodToStream
Encodes all the fields of this Message into a Stream.
Public methodToString
Returns a string representation of this Message.
(Overrides ObjectToString.)
Public methodStatic memberValueOf
Returns a Message built using the supplied object data.
Top
See Also