TypeDescriptor.GetPropertiesFromRegisteredType 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetPropertiesFromRegisteredType(Type) |
取得指定型別的屬性集合。 |
GetPropertiesFromRegisteredType(Object) |
取得指定元件的屬性集合。 |
GetPropertiesFromRegisteredType(Type)
取得指定型別的屬性集合。
public:
static System::ComponentModel::PropertyDescriptorCollection ^ GetPropertiesFromRegisteredType(Type ^ componentType);
public static System.ComponentModel.PropertyDescriptorCollection GetPropertiesFromRegisteredType (Type componentType);
static member GetPropertiesFromRegisteredType : Type -> System.ComponentModel.PropertyDescriptorCollection
Public Shared Function GetPropertiesFromRegisteredType (componentType As Type) As PropertyDescriptorCollection
參數
- componentType
- Type
傳回
適用於
GetPropertiesFromRegisteredType(Object)
取得指定元件的屬性集合。
public:
static System::ComponentModel::PropertyDescriptorCollection ^ GetPropertiesFromRegisteredType(System::Object ^ component);
public static System.ComponentModel.PropertyDescriptorCollection GetPropertiesFromRegisteredType (object component);
static member GetPropertiesFromRegisteredType : obj -> System.ComponentModel.PropertyDescriptorCollection
Public Shared Function GetPropertiesFromRegisteredType (component As Object) As PropertyDescriptorCollection
參數
- component
- Object