指定されたオブジェクトのクラス名を取得します。
名前空間: 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 クラス ライブラリの GetClassName のメソッドを参照してください。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。