Partilhar via


Método AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetClassName

Retorna o nome de classe do objeto especificado.

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

Sintaxe

'Declaração
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 não oferece suporte a implementações explícitas da interface.

Valor de retorno

Tipo: String
Retorna o nome da classe de objeto, ou nulluma referência nula (Nothing no Visual Basic) se a classe não tem um nome.

Implementações

ICustomTypeDescriptor.GetClassName

Comentários

Em instâncias quando nulluma referência nula (Nothing no Visual Basic) é retornado, use o nome do tipo recupera usando o método GetComponentName .

Esse método oferece uma implementação do método de GetClassName . Para obter mais informações consulte o método de GetClassName na biblioteca de classes de .NET Framework .

Segurança do .NET Framework

Consulte também

Referência

AdoDotNetConnectionProperties Classe

Namespace Microsoft.VisualStudio.Data.AdoDotNet