IComNativeDescriptorHandler.GetDefaultProperty(Object) Method

Definition

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

Parameters

component
Object

The component to get the default property for.

Returns

A PropertyDescriptor that represents component's default property.

Remarks

Note

This API is now obsolete. The non-obsolete alternative is ComObjectType.

Applies to