Share via


DataConnectionProperties.ICustomTypeDescriptor.GetClassName Method

Retrieves the class name of the specified object.

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

Syntax

'Declaration
Private Function GetClassName As String 
    Implements ICustomTypeDescriptor.GetClassName
'Usage
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
Returns the class name of the object, or nulla null reference (Nothing in Visual Basic) if the class does not have a name.

Implements

ICustomTypeDescriptor.GetClassName()

Remarks

In instances when nulla null reference (Nothing in Visual Basic) is returned, use the type name retrieves 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.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data Namespace