ProxyWebPartConnectionCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기