IComNativeDescriptorHandler.GetProperties Method (Object, Attribute[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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,
	Attribute[] attributes
)

Parameters

component
Type: System.Object

The component to get events for.

attributes
Type: 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: