Share via


IComNativeDescriptorHandler.GetDefaultProperty(Object) 方法

定义

获取指定组件的默认属性。

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

要获取其默认属性的组件。

返回

一个 PropertyDescriptor,表示 component 的默认属性。

注解

注意

此 API 现已过时。 未过时的替代项为 ComObjectType

适用于