IComNativeDescriptorHandler.GetDefaultProperty Method (Object)

 
obsoleteCodeEntityP:System.ComponentModel.TypeDescriptor.ComObjectType

Gets the default property for the specified component.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

PropertyDescriptor GetDefaultProperty(
	object component
)

Parameters

component
Type: System.Object

The component to get the default property for.

Return Value

Type: System.ComponentModel.PropertyDescriptor

A PropertyDescriptor that represents component's default property.

System_CAPS_noteNote

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

.NET Framework
Available since 1.1
Return to top
Show: