Partager via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetClassName Method

Retrieves the class name of the specified object.

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

Syntax

'Declaration
Private Function GetClassName As String 
    Implements ICustomTypeDescriptor.GetClassName
string ICustomTypeDescriptor.GetClassName()
private:
virtual String^ GetClassName() sealed = ICustomTypeDescriptor::GetClassName
private abstract GetClassName : unit -> string  
private override GetClassName : unit -> string
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

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace