Specifies the generic parameter when a declared type is a generic type.

<parameter index="integer"
                      type=String" />

The following sections describe attributes, child elements, and parent elements.


Attribute Description


When the declared type is a generic type, specifies the generic parameter that will return the known type.


A string that describes the known type used for serialization and deserialization.

Child Elements


Parent Elements

Element Description


Specifies a known type that can be returned by a field or property of the declared type.

For more information about known types, see Data Contract Known Types and DataContractSerializer.

See the <dataContractSerializer> for an example of using this element.

This configuration element cannot have both attributes at the same time. If both attributes are set, a ConfigurationErrorsException occurs.

© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft