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