WebBaseEventCollection(ICollection) 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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 사용하여 초기화할 수 있습니다.