IGraphFormattedLabel.Label メソッド

コンシューマーがノードのラベルのプロパティの代わりに使用する、省略可能なラベルを提供します。

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

構文

'宣言
Function Label ( _
    graphObject As GraphObject, _
    graphCommandDefinitionIdentifier As String _
) As String
string Label(
    GraphObject graphObject,
    string graphCommandDefinitionIdentifier
)
String^ Label(
    GraphObject^ graphObject, 
    String^ graphCommandDefinitionIdentifier
)
abstract Label : 
        graphObject:GraphObject * 
        graphCommandDefinitionIdentifier:string -> string 
function Label(
    graphObject : GraphObject, 
    graphCommandDefinitionIdentifier : String
) : String

パラメーター

  • graphCommandDefinitionIdentifier
    型 : System.String
    表示されるノードに関連付けされるコマンド ID。これは、異なるビューに表示されるときは、ノードのラベルをカスタマイズするために使用できます。

戻り値

型 : System.String
String を返します。

.NET Framework セキュリティ

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

参照

関連項目

IGraphFormattedLabel インターフェイス

Microsoft.VisualStudio.GraphModel 名前空間