ProtocolElementCollection.Item Property (Object)

 
System_CAPS_noteNote

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

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

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

public ProtocolElement this[
	object key
] { get; set; }

Parameters

key
Type: System.Object

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

Property Value

Type: System.Web.Services.Configuration.ProtocolElement

The ProtocolElement with the specified key.

Exception Condition
KeyNotFoundException

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

.NET Framework
Available since 2.0
Return to top
Show: