แก้ไข

แชร์ผ่าน


TypeDescriptor.GetPropertiesFromRegisteredType Method

Definition

Overloads

GetPropertiesFromRegisteredType(Type)

Gets a collection of properties for a specified type.

GetPropertiesFromRegisteredType(Object)

Gets a collection of properties for a specified component.

GetPropertiesFromRegisteredType(Type)

Gets a collection of properties for a specified 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

Parameters

componentType
Type

A Type that represents the component to get properties for.

Returns

A PropertyDescriptorCollection with the properties for a specified type of component.

Applies to

GetPropertiesFromRegisteredType(Object)

Gets a collection of properties for a specified component.

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

Parameters

component
Object

A component to get the properties for.

Returns

A PropertyDescriptorCollection with the properties for the specified component.

Applies to