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.GetClassName (Object, Boolean)

Gets the name of the class for the specified component using the custom type descriptor when fNoCustomTypeDesc

is false.

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

Parameters

component
The Object whose class name you want.
fNoCustomTypeDesc
true if TypeDescriptor has been called by an instance of ICustomTypeDescriptor; otherwise, false.

Return Value

The name of the class for the specified component.

Remarks

Typically, this returns the full Type name for the component's type. If the component implements ICustomTypeDescriptor, it can return an alternate name.

See Also

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