共用方式為


GraphNode.ParentGroups 屬性

傳回會列出此節點在其集合中的所有 ChildNodes GraphGroups (或 ChildGroups 集合,如果這個節點有 IsGroup=true)。

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public ReadOnly Property ParentGroups As IEnumerable(Of GraphGroup)
public IEnumerable<GraphGroup> ParentGroups { get; }
public:
property IEnumerable<GraphGroup^>^ ParentGroups {
    IEnumerable<GraphGroup^>^ get ();
}
member ParentGroups : IEnumerable<GraphGroup> with get
function get ParentGroups () : IEnumerable<GraphGroup>

屬性值

類型:IEnumerable<GraphGroup>

.NET Framework 安全性

請參閱

參考

GraphNode 類別

Microsoft.VisualStudio.GraphModel 命名空間