System.Runtime.Serialization 4.0.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)

The is intended to ease interoperability when working with data from non-indigo2 providers and to control the exact shape of serialized instances. To this end, the property enables you to control the names of the repeating items inside a collection. This is especially useful when the provider does not use the XML element type name as the array item name, for example, if a provider uses "String" as an element type name instead of the XSD type name "string".

The is also intended to be used with dictionary types to handle keyed collections. Dictionary types are classes that implement either the or the interface, for example, the . Use the and properties to set custom names when using the class.

crabout using the , see Data Contracts Overview.

When applied to a collection type, enables custom specification of the collection item elements. This attribute can be applied only to types that are recognized by the as valid, serializable collections.

- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class.

- Property
  4.0.0.0
  System.Boolean To be added.

  The IsReference setting does not apply to the elements of the collection.

  Gets or sets a value that indicates whether to preserve object reference data.

- Property
  4.0.0.0
  System.String To be added. To be added.

  Gets or sets a custom name for a collection element.

- Property
  4.0.0.0
  System.String To be added. To be added.

  Gets or sets the custom name for a dictionary key name.

- Property
  4.0.0.0
  System.String To be added. To be added.

  Gets or sets the data contract name for the collection type.

- Property
  4.0.0.0
  System.String To be added. To be added.

  Gets or sets the namespace for the data contract.

- Property
  4.0.0.0
  System.String To be added. To be added.

  Gets or sets the custom name for a dictionary value name.