DeclaredTypeElementCollection.Item Property (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the element in the collection of types by its key.

Namespace:   System.Runtime.Serialization.Configuration
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public DeclaredTypeElement this[
	string typeName
] { get; set; }


Type: System.String

The name (that functions as a key) of the type to get or set.

Property Value

Type: System.Runtime.Serialization.Configuration.DeclaredTypeElement

The specified element (when used to get the element).

.NET Framework
Available since 3.0
Return to top