NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeDescriptor.GetProperties (Object)

Gets a collection of properties for a specified component.

[Visual Basic]
Overloads Public Shared Function GetProperties( _
   ByVal component As Object _
) As PropertyDescriptorCollection
[C#]
public static PropertyDescriptorCollection GetProperties(
   object component
);
[C++]
public: static PropertyDescriptorCollection* GetProperties(
   Object* component
);
[JScript]
public static function GetProperties(
   component : Object
) : PropertyDescriptorCollection;

Parameters

component
A component to get the properties for.

Return Value

A PropertyDescriptorCollection with the properties for the specified component.

Remarks

The properties for a component can differ from the properties of a class, because if the component is sited, the site can add or remove properties.

See Also

TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetProperties Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | PropertyDescriptorCollection