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:
property TypeElement^ default[
	Object^ key
] {
	TypeElement^ get(Object^ key);
	void set(Object^ key, TypeElement^ value);
}

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.

Exception Condition
KeyNotFoundException

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

.NET Framework
Available since 2.0
Return to top
Show: