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>
function get ParentGroups () : IEnumerable<GraphGroup>
屬性值
型別:System.Collections.Generic.IEnumerable<GraphGroup>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。