Share via


DataContractBase Members

Microsoft Robotics Class Reference

The DataContractBase type exposes the following members.

Constructors

  Name Description
Protected method DataContractBase
Initializes a new instance of the DataContractBase class

Methods

  Name Description
Public method Clone
Creates o copy of the current instance
(Inherited from CommentedElement.)
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 ShouldSerializeDeclaringContract
Gets a value that indicates whether to serialize the
Dd151204.CopyCode(en-us,MSDN.10).gifCopyC#
DeclaringContract
property
Public method ShouldSerializeTypeReference
Gets a value that indicates whether to serialize the
Dd151204.CopyCode(en-us,MSDN.10).gifCopyC#
TypeReference
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
Dd151204.CopyCode(en-us,MSDN.10).gifCopyC#
EnumDataContract
this is the underlying type and must be an integer type.
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
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
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
Public property Namespace
Gets the namespace of the type
Public property TypeReference
Gets or sets the reference that can be used to refer to the type of the data contract
Public property XmlName
Gets or sets the xml name of the data contract
Public property XmlNamespace
Gets or sets the xml namespace of the data contract

See Also

DataContractBase Class

Microsoft.Dss.Core.ContractModel Namespace