ProtocolElementCollection.Item[Object] ProtocolElementCollection.Item[Object] ProtocolElementCollection.Item[Object] ProtocolElementCollection.Item[Object] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets the element at a specified index in the collection.

Item[Object] Item[Object] Item[Object] Item[Object]

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

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets the element at a specified index in the collection.

public:
 property System::Web::Services::Configuration::ProtocolElement ^ default[int] { System::Web::Services::Configuration::ProtocolElement ^ get(int index); void set(int index, System::Web::Services::Configuration::ProtocolElement ^ value); };
public System.Web.Services.Configuration.ProtocolElement this[int index] { get; set; }
member this.Item(int) : System.Web.Services.Configuration.ProtocolElement with get, set
Default Public Property Item(index As Integer) As ProtocolElement

Parameters

index
Int32 Int32 Int32 Int32

The zero-based index into the collection.

Property Value

Item[Object] Item[Object] Item[Object] Item[Object]

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

public:
 property System::Web::Services::Configuration::ProtocolElement ^ default[System::Object ^] { System::Web::Services::Configuration::ProtocolElement ^ get(System::Object ^ key); void set(System::Object ^ key, System::Web::Services::Configuration::ProtocolElement ^ value); };
public System.Web.Services.Configuration.ProtocolElement this[object key] { get; set; }
member this.Item(obj) : System.Web.Services.Configuration.ProtocolElement with get, set
Default Public Property Item(key As Object) As ProtocolElement

Parameters

key
Object Object Object Object

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

Property Value

Exceptions

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

Applies to