| CollectionDataContractAttribute Class |
Namespace: System.Runtime.Serialization
public sealed class CollectionDataContractAttribute : Attribute
The CollectionDataContractAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| CollectionDataContractAttribute |
Initializes a new instance of the System.Runtime.Serialization.CollectionDataContractAttribute
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.
| |
| ItemName |
Gets or sets a custom name for a collection element.
| |
| KeyName |
Gets or sets the custom name for a dictionary key name.
| |
| Name |
Gets or sets the data contract name for the collection type.
| |
| Namespace |
Gets or sets the namespace for the data contract.
| |
| ValueName |
Gets or sets the custom name for a dictionary value name.
|