Aracılığıyla paylaş


EventsTab.GetProperties Yöntem

Tanım

Olay sekmesinin tüm özelliklerini alır.

Aşırı Yüklemeler

GetProperties(Object, Attribute[])

Belirtilen özniteliklerle eşleşen olay sekmesinin tüm özelliklerini alır.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Belirtilen öznitelikler ve bağlamla eşleşen olay sekmesinin tüm özelliklerini alır.

GetProperties(Object, Attribute[])

Belirtilen özniteliklerle eşleşen olay sekmesinin tüm özelliklerini alır.

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[] attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[]? attributes);
override this.GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametreler

component
Object

özelliklerini almak için bileşen.

attributes
Attribute[]

Alınacak olay özelliklerinin özniteliklerini gösteren dizisi Attribute .

Döndürülenler

PropertyDescriptorCollection

PropertyDescriptorCollection Özellikleri içeren bir. Bileşen bir olay hizmeti uygulamazsa bu boş PropertyDescriptorCollection olur.

Açıklamalar

Olay sekmesi özellikleri, bir bileşenin olay hizmetinden döndürülen olay özelliklerinden belirlenir.

Şunlara uygulanır

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Belirtilen öznitelikler ve bağlamla eşleşen olay sekmesinin tüm özelliklerini alır.

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametreler

context
ITypeDescriptorContext

ITypeDescriptorContext Bağlam bilgisi almak için kullanılabilecek bir.

component
Object

özelliklerini almak için bileşen.

attributes
Attribute[]

Alınacak olay özelliklerinin özniteliklerini gösteren tür Attribute dizisi.

Döndürülenler

PropertyDescriptorCollection

PropertyDescriptorCollection Özellikleri içeren bir. Bileşen bir olay hizmeti uygulamazsa bu boş PropertyDescriptorCollection olur.

Şunlara uygulanır