WebBaseEventCollection(ICollection) 생성자

정의

WebBaseEventCollection 클래스의 새 인스턴스를 초기화합니다.

public:
 WebBaseEventCollection(System::Collections::ICollection ^ events);
public WebBaseEventCollection (System.Collections.ICollection events);
new System.Web.Management.WebBaseEventCollection : System.Collections.ICollection -> System.Web.Management.WebBaseEventCollection
Public Sub New (events As ICollection)

매개 변수

events
ICollection

WebBaseEvent 개체의 컬렉션입니다.

예외

events이(가) null인 경우

예제

다음 코드 예제에서는이 생성자를 사용 하는 방법을 보여 줍니다.


// Create an event collection.
// Add to it the created simulatedEvents.
public static void AddEvents()
{
    events = 
    new System.Web.Management.WebBaseEventCollection(
    simulatedEvents);
}
' Create an event collection.
' Add to it the created simulatedEvents.
Public Shared Sub AddEvents() 
    events = _
    New System.Web.Management.WebBaseEventCollection(simulatedEvents)

End Sub

설명

합니다 WebBaseEventCollection(ICollection) 생성자의 인스턴스를 만들 수 있습니다 합니다 WebBaseEventCollection 클래스의 컬렉션을 사용 하 여 초기화 및 WebBaseEvent 개체입니다.

적용 대상

추가 정보