DataMemberInfo Members

Microsoft Robotics Class Reference

The DataMemberInfo type exposes the following members.

Constructors

  Name Description
Public method DataMemberInfo
Initializes a new instance of the DataMemberInfo class

Methods

  Name Description
Public method Clone
Creates o copy of the current instance
(Overrides CommentedElement. . :: . .Clone() () () ().)
Public method CopyTo
Copies the members values of the current instance to the target
(Overrides ContractElement. . :: . .CopyTo(IDssSerializable).)
Public method Deserialize
Deserializes the values of the members from a reader
(Overrides ContractElement. . :: . .Deserialize(BinaryReader).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Serialize
Serializes the values of the members of the current instance
(Overrides ContractElement. . :: . .Serialize(BinaryWriter).)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property ClsCompliant
Gets or sets a value that indicates whether the assembly is CLS compliant
(Inherited from ContractElement.)
Public property Comment
Gets or sets the comment
(Inherited from CommentedElement.)
Public property ConstantValue
Gets or sets the value of the constant

Remarks

The property is ignore if
Dd133449.CopyCode(en-us,MSDN.10).gifCopyC#
Kind
is
Dd133449.CopyCode(en-us,MSDN.10).gifCopyC#
DataMemberKind.Constant
Public property ConstructorParameter
Gets or sets the settings for the constructor parameter.

Remarks

Set the property to null if the member is not a constructor parameter
Public property Description
Gets or sets the description of the contract element
(Inherited from ContractElement.)
Public property DisplayName
Gets or sets the display name of the contract element
(Inherited from ContractElement.)
Public property IsBrowsable
Gets or sets a value that indicates whether the contract element is visable is design tools
(Inherited from ContractElement.)
Public property IsRequired
Gets or sets a value that indicates whether the data member is required
Public property IsVirtual
Gets or sets a value that indicates whether the member override virtual member of a base class or can be overriden by a subclass
Public property Kind
Gets or sets the kind of the data member
Public property MemberType
Gets or sets the type of the data member
Public property Name
Gets or sets the name of the data member
Public property NameInProxy
Gets the name of the member in the proxy
Public property Order
Gets or sets the order of the data member in the data contract

Remarks

TODO: need to figure out what that things actually does
Public property XmlAnyElement
Gets or sets a value that indicates whether to treat the member as xml
Public property XmlAttribute
Gets a sets a value that indicates whether the data member is serialized as xml attribte
Public property XmlInlineList
Gets a sets a value that indicates whether the data member is serialized as xml inline list
Public property XmlName
Gets or sets the xml name of the data member
Public property XmlNamespace
Gets or sets the Xml namespace of the data member
Public property XmlOmitDefaultValue
Gets a sets a value that indicates whether the data member is not serialized when set to its default value
Public property XmlText
Gets a sets a value that indicates whether the data member is serialized as inline text

See Also

DataMemberInfo Class

Microsoft.Dss.Core.ContractModel Namespace