Bearbeiten

Freigeben über


WsiProfilesElementCollection.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 WsiProfilesElement 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::WsiProfilesElement ^ default[int] { System::Web::Services::Configuration::WsiProfilesElement ^ get(int index); void set(int index, System::Web::Services::Configuration::WsiProfilesElement ^ value); };
public System.Web.Services.Configuration.WsiProfilesElement this[int index] { get; set; }
member this.Item(int) : System.Web.Services.Configuration.WsiProfilesElement with get, set
Default Public Property Item(index As Integer) As WsiProfilesElement

Parameters

index
Int32

The zero-based index into the collection.

Property Value

The WsiProfilesElement that exists at the specified index.

Applies to

Item[Object]

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

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

Parameters

key
Object

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

Property Value

The WsiProfilesElement with the specified key.

Exceptions

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

Applies to