Muokkaa

Jaa


ProtocolElementCollection.Item[] Property

Definition

Gets or sets an element in the collection.

Overloads

Item[Int32]

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

Item[Object]

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

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

The zero-based index into the collection.

Property Value

The ProtocolElement that exists at the specified index.

Applies to

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

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

Property Value

The ProtocolElement with the specified key.

Exceptions

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

Applies to