AxHost.ICustomTypeDescriptor.GetProperties 方法

定義

傳回目前物件的屬性。Returns properties for the current object.

多載

ICustomTypeDescriptor.GetProperties()

傳回目前物件的屬性。Returns the properties for the current object.

ICustomTypeDescriptor.GetProperties(Attribute[])

使用指定的屬性 (Attribute) 陣列做為篩選條件,傳回目前物件的屬性 (Property)。Returns the properties for the current object using the specified attribute array as a filter.

ICustomTypeDescriptor.GetProperties()

傳回目前物件的屬性。Returns the properties for the current object.

 virtual System::ComponentModel::PropertyDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetProperties() = System::ComponentModel::ICustomTypeDescriptor::GetProperties;
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties ();
Function GetProperties () As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties

傳回

PropertyDescriptorCollection,表示目前物件的事件。A PropertyDescriptorCollection that represents the events for the current object.

實作

ICustomTypeDescriptor.GetProperties(Attribute[])

使用指定的屬性 (Attribute) 陣列做為篩選條件,傳回目前物件的屬性 (Property)。Returns the properties for the current object using the specified attribute array as a filter.

 virtual System::ComponentModel::PropertyDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetProperties(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetProperties;
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties (Attribute[] attributes);
Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties

參數

attributes
Attribute[]

Attribute 類型陣列,可當做篩選條件使用。An array of type Attribute that is used as a filter.

傳回

PropertyDescriptorCollection,表示目前 AxHost 的事件符合指定的屬性集。A PropertyDescriptorCollection that represents the events for the current AxHost that match the given set of attributes.

實作

適用於