DataConnectionProperties.ICustomTypeDescriptor.GetComponentName メソッド

指定されたオブジェクトの名前を取得します。

名前空間:  Microsoft.VisualStudio.Data.Framework
アセンブリ:  Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)

構文

'宣言
Private Function GetComponentName As String
    Implements ICustomTypeDescriptor.GetComponentName
string ICustomTypeDescriptor.GetComponentName()
private:
virtual String^ GetComponentName() sealed = ICustomTypeDescriptor::GetComponentName
private abstract GetComponentName : unit -> string 
private override GetComponentName : unit -> string 
JScript では、明示的なインターフェイスの実装はサポートされません。

戻り値

型 : System.String
オブジェクトの名前。オブジェクトに名前がない場合は nullnull 参照 (Visual Basic では Nothing)。

実装

ICustomTypeDescriptor.GetComponentName()

解説

メソッドの戻り値は無効にすると、既定の名前を使用します。

このメソッドは GetComponentName のメソッドの実装を提供します。詳細については、.NET Framework のクラス ライブラリ GetComponentName のメソッドを参照してください。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

DataConnectionProperties クラス

Microsoft.VisualStudio.Data.Framework 名前空間