Compartilhar 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
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

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace