Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Item Property (Object)
Collapse the table of content
Expand the table of content

TypeElementCollection.Item Property (Object)

Gets or sets the TypeElement that has the specified key in the collection.

Namespace:  System.Web.Services.Configuration
Assembly:  System.Web.Services (in System.Web.Services.dll)

public TypeElement this[
	Object key
] { get; set; }

Parameters

key
Type: System.Object

The key of the TypeElement to get or set in the collection.

Property Value

Type: System.Web.Services.Configuration.TypeElement
The TypeElement with the specified key.

ExceptionCondition
KeyNotFoundException

The TypeElement with the specified key was not found in the collection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft