Edytuj

Udostępnij za pośrednictwem


ConsumerConnectionPointCollection.Item[] Property

Definition

Gets the collection item at the specified location.

Overloads

Item[Int32]

Gets the item in the collection at the location specified by the integer value.

Item[String]

Gets the connection point with the specified ID property.

Item[Int32]

Gets the item in the collection at the location specified by the integer value.

public:
 property System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ default[int] { System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ get(int index); };
public System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint this[int index] { get; }
member this.Item(int) : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint
Default Public ReadOnly Property Item(index As Integer) As ConsumerConnectionPoint

Parameters

index
Int32

The index of a particular ConsumerConnectionPoint item in the collection.

Property Value

A ConsumerConnectionPoint at the specified index in the collection.

Remarks

Use this method to retrieve a connection point from the collection if you know its index value.

Applies to

Item[String]

Gets the connection point with the specified ID property.

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

Parameters

id
String

A string value representing the connection point ID of the connection point to be retrieved.

Property Value

The first ConsumerConnectionPoint in the collection whose ID matches the value of id.

Remarks

Use this method to retrieve a connection point from the collection if you know its connection point ID.

Applies to