DataConnectionProperties.ICustomTypeDescriptor.GetClassName Method

Retrieves the class name of the specified object.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Private Function GetClassName As String
    Implements ICustomTypeDescriptor.GetClassName
'使用
Dim instance As DataConnectionProperties
Dim returnValue As String

returnValue = CType(instance, ICustomTypeDescriptor).GetClassName()
string ICustomTypeDescriptor.GetClassName()
private:
virtual String^ GetClassName() sealed = ICustomTypeDescriptor::GetClassName
JScript does not support explicit interface implementations.

Return Value

Type: System.String

The class name of the object, or a null reference (Nothing in Visual Basic) if the class does not have a name.

Implements

ICustomTypeDescriptor.GetClassName()

Remarks

When null is returned, use the type name retrieved using the GetComponentName method.

This method provides an implementation of the GetClassName method. For more information, see the GetClassName method in the .NET Framework class library.

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data.Framework Namespace