WebBaseEventCollection.Item[Int32] 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.
Gets the WebBaseEvent object at the specified index.
public:
property System::Web::Management::WebBaseEvent ^ default[int] { System::Web::Management::WebBaseEvent ^ get(int index); };
public System.Web.Management.WebBaseEvent this[int index] { get; }
member this.Item(int) : System.Web.Management.WebBaseEvent
Default Public ReadOnly Property Item(index As Integer) As WebBaseEvent
Parameters
- index
- Int32
The collection index of the WebBaseEvent object you want to retrieve.
Property Value
The WebBaseEvent object at the specified index.
Exceptions
The specified index is outside the range of the collection.
Examples
The following code example shows how to use the Item[] property.
// Get the event with the specified index.
public static WebBaseEvent GetItem(int index)
{
return events[index];
}
' Get the event with the specified index.
Public Shared Function GetItem(ByVal index _
As Integer) As WebBaseEvent
Return events(index)
End Function 'GetItem
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET