共用方式為


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetClassName 方法

擷取指定物件的類別名稱。

命名空間:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
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 不支援明確介面實作。

傳回值

型別:System.String
如果類別沒有名稱,傳回物件的類別名稱或 nullNull 參照 (即 Visual Basic 中的 Nothing) 。

實作

ICustomTypeDescriptor.GetClassName()

備註

當 nullNull 參照 (即 Visual Basic 中的 Nothing) 傳回時,使用型別使用 GetComponentName 方法所擷取的名稱。

這個方法 GetClassName 提供方法的實作。 如需詳細資訊,請參閱 .NET Framework 類別庫 (Class Library GetClassName 方法。

.NET Framework 安全性

請參閱

參考

AdoDotNetConnectionProperties 類別

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空間