DataContractAttribute Class |
Namespace: System.Runtime.Serialization
public sealed class DataContractAttribute : Attribute
The DataContractAttribute type exposes the following members.
Name | Description | |
---|---|---|
DataContractAttribute |
Initializes a new instance of the System.Runtime.Serialization.DataContractAttribute
class.
|
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IsReference |
Gets or sets a value that indicates whether to preserve object reference
data.
| |
Name |
Gets or sets the name of the data contract for the type.
| |
Namespace |
Gets or sets the namespace for the data contract for the type.
|