IComNativeDescriptorHandler.GetDefaultProperty(Object) 方法
定义
获取指定组件的默认属性。Gets the default property for the specified component.
public:
System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty(System::Object ^ component);
public System.ComponentModel.PropertyDescriptor GetDefaultProperty (object component);
abstract member GetDefaultProperty : obj -> System.ComponentModel.PropertyDescriptor
Public Function GetDefaultProperty (component As Object) As PropertyDescriptor
参数
- component
- Object
要获取其默认属性的组件。The component to get the default property for.
返回
一个 PropertyDescriptor,表示 component 的默认属性。A PropertyDescriptor that represents component's default property.
注解
备注
此 API 现已过时。This API is now obsolete. 未过时的替代项为 ComObjectType。The non-obsolete alternative is ComObjectType.