SubMenuStyle.ICustomTypeDescriptor.GetProperties 方法

定義

如需這個成員的說明,請參閱 GetProperties

多載

ICustomTypeDescriptor.GetProperties()

如需這個成員的說明,請參閱 GetProperties()

ICustomTypeDescriptor.GetProperties(Attribute[])

如需這個成員的說明,請參閱 GetProperties(Attribute[])

備註

這個成員是明確介面成員實作, 只有當實例轉換成 ICustomTypeDescriptor 介面時 SubMenuStyle ,才能使用它。

ICustomTypeDescriptor.GetProperties()

如需這個成員的說明,請參閱 GetProperties()

 virtual System::ComponentModel::PropertyDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetProperties() = System::ComponentModel::ICustomTypeDescriptor::GetProperties;
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Function GetProperties () As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties

傳回

PropertyDescriptorCollection

PropertyDescriptorCollection,包含這個執行個體的屬性。

實作

備註

這個成員是明確介面成員實作, 只有當實例轉換成 ICustomTypeDescriptor 介面時 SubMenuStyle ,才能使用它。

適用於

ICustomTypeDescriptor.GetProperties(Attribute[])

如需這個成員的說明,請參閱 GetProperties(Attribute[])

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

參數

attributes
Attribute[]

Attribute 類型陣列,可當做篩選條件使用。

傳回

PropertyDescriptorCollection

PropertyDescriptorCollection 物件,包含這個執行個體的已篩選屬性。

實作

備註

這個成員是明確介面成員實作, 它只能在實例轉換成 ICustomTypeDescriptor 介面時 SubMenuStyle 使用。

適用於