WebBaseEventCollection(ICollection) Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
WebBaseEventCollection sınıfının yeni bir örneğini başlatır.
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)
Parametreler
- events
- ICollection
Nesne koleksiyonu WebBaseEvent .
Özel durumlar
events, null'e eşittir.
Örnekler
Aşağıdaki kod örneğinde bu oluşturucunun nasıl kullanılacağı gösterilmektedir.
// 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
Açıklamalar
Oluşturucu, WebBaseEventCollection(ICollection) sınıfın WebBaseEventCollection bir örneğini oluşturmanıza ve bir nesne koleksiyonuyla WebBaseEvent başlatmanıza olanak tanır.