IGraphFormattedLabel.Description 方法

提供一个有关节点的可选描述。使用者一项常见的用途是显示为弹出信息窗口。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
Function Description ( _
    graphObject As GraphObject, _
    graphCommandDefinitionIdentifier As String _
) As String
string Description(
    GraphObject graphObject,
    string graphCommandDefinitionIdentifier
)
String^ Description(
    GraphObject^ graphObject, 
    String^ graphCommandDefinitionIdentifier
)
abstract Description : 
        graphObject:GraphObject * 
        graphCommandDefinitionIdentifier:string -> string 
function Description(
    graphObject : GraphObject, 
    graphCommandDefinitionIdentifier : String
) : String

参数

  • graphCommandDefinitionIdentifier
    类型:System.String
    与显示的节点相关联的命令标识符。视图可以用不同的方式时,节点可使用自定义标签。

返回值

类型:System.String
返回 String

.NET Framework 安全性

请参见

参考

IGraphFormattedLabel 接口

Microsoft.VisualStudio.GraphModel 命名空间