IComNativeDescriptorHandler::GetProperties Method (Object^, array<Attribute^>^)

 
obsoleteCodeEntityP:System.ComponentModel.TypeDescriptor.ComObjectType

Gets the properties with the specified attributes for the specified component.

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

PropertyDescriptorCollection^ GetProperties(
	Object^ component,
	array<Attribute^>^ attributes
)

Parameters

component
Type: System::Object^

The component to get events for.

attributes
Type: array<System::Attribute^>^

The attributes used to filter properties.

Return Value

Type: System.ComponentModel::PropertyDescriptorCollection^

A collection of property descriptors for component.

System_CAPS_noteNote

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

.NET Framework
Available since 1.1
Return to top
Show: