GraphNode.Label 属性

节点的可显示标签

如果未定义标签,则返回 Id,从而我们总是有东西显示给用户。

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

语法

声明
Public Property Label As String
public string Label { get; set; }
public:
property String^ Label {
    String^ get ();
    void set (String^ value);
}
member Label : string with get, set
function get Label () : String 
function set Label (value : String)

属性值

类型:String

.NET Framework 安全性

请参阅

参考

GraphNode 类

Microsoft.VisualStudio.GraphModel 命名空间