Share via


EnumerationDataContractInfo Members

Microsoft Robotics Class Reference

The EnumerationDataContractInfo type exposes the following members.

Constructors

  Name Description
Public method EnumerationDataContractInfo
Initializes a new instance of the EnumerationDataContractInfo 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 DataContractBase. . :: . .CopyTo(IDssSerializable).)
Public method Deserialize
Deserializes the values of the members from a reader
(Overrides DataContractBase. . :: . .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 DataContractBase. . :: . .Serialize(BinaryWriter).)
Public method ShouldSerializeDeclaringContract
Gets a value that indicates whether to serialize the
Dd133687.CopyCode(en-us,MSDN.10).gifCopyC#
DeclaringContract
property
(Inherited from DataContractBase.)
Public method ShouldSerializeTypeReference
Gets a value that indicates whether to serialize the
Dd133687.CopyCode(en-us,MSDN.10).gifCopyC#
TypeReference
property
(Inherited from DataContractBase.)
Public method ShouldSerializeValues
Gets a value that indicates whether to serialize the
Dd133687.CopyCode(en-us,MSDN.10).gifCopyC#
Values
property
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property BaseType
Gets or sets the base type of the data contract.

Remarks

For
Dd133687.CopyCode(en-us,MSDN.10).gifCopyC#
EnumDataContract
this is the underlying type and must be an integer type.
(Inherited from DataContractBase.)
Public property CanCombineValues
Gets a value that indicates whether the enumeration value can be used as flags
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 DeclaringContract
Gets or sets the declaring contract of data contract.

Remarks

This value is only set if the contract is different from the xml namespace
(Inherited from DataContractBase.)
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 FullName
Gets or sets the fully qualified type name of the data contract
(Inherited from DataContractBase.)
Public property IsBrowsable
Gets or sets a value that indicates whether the contract element is visable is design tools
(Inherited from ContractElement.)
Public property Name
Gets the name of the type
(Inherited from DataContractBase.)
Public property Namespace
Gets the namespace of the type
(Inherited from DataContractBase.)
Public property TypeReference
Gets or sets the reference that can be used to refer to the type of the data contract
(Inherited from DataContractBase.)
Public property Values
Gets the values of the enumeration
Public property XmlName
Gets or sets the xml name of the data contract
(Inherited from DataContractBase.)
Public property XmlNamespace
Gets or sets the xml namespace of the data contract
(Inherited from DataContractBase.)

See Also

EnumerationDataContractInfo Class

Microsoft.Dss.Core.ContractModel Namespace