Επεξεργασία

Κοινή χρήση μέσω


ProxyWebPartConnectionCollection.Item[] Property

Definition

Enables specific connection members to be added to or retrieved from the collection, according to an index or a unique identifier.

Overloads

Item[Int32]

Gets or sets a connection item within the collection, based on an index number indicating the item's location in the collection.

Item[String]

Returns a specific member of the collection according to a unique identifier.

Item[Int32]

Gets or sets a connection item within the collection, based on an index number indicating the item's location in the collection.

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

Parameters

index
Int32

An integer that indicates the index of a member of the collection.

Property Value

A WebPartConnection at the specified index in the collection.

Remarks

The Item[] property enables you to access a WebPartConnection object within a ProxyWebPartConnectionCollection collection by using an index number that represents the item's ordinal position in the collection.

See also

Applies to

Item[String]

Returns a specific member of the collection according to a unique identifier.

public:
 property System::Web::UI::WebControls::WebParts::WebPartConnection ^ default[System::String ^] { System::Web::UI::WebControls::WebParts::WebPartConnection ^ get(System::String ^ id); };
public System.Web.UI.WebControls.WebParts.WebPartConnection this[string id] { get; }
member this.Item(string) : System.Web.UI.WebControls.WebParts.WebPartConnection
Default Public ReadOnly Property Item(id As String) As WebPartConnection

Parameters

id
String

A string that contains the ID of a particular connection in the collection.

Property Value

The first WebPartConnection whose ID matches the value of the id parameter. Returns null if no match is found.

Remarks

This property returns a WebPartConnection object with the specified ID by performing a case-insensitive comparison.

See also

Applies to