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.GetComponentName (Object)

The name of the class for the specified component.

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

Parameters

component
The Object whose class name you want.

Return Value

The name of the class name of the object.

Remarks

Typically, this method returns the name for the site of the component, if one exists. If the component

implements ICustomTypeDescriptor, it can return an alternate name.

See Also

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