Partition.GetClosureList Method (ICollection<ModelElement>, ClosureType, Boolean, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Function GetClosureList ( _
    rootElements As ICollection(Of ModelElement), _
    type As ClosureType, _
    bypassDemandLoading As Boolean, _
    domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo) _
) As ReadOnlyCollection(Of ModelElement)
public ReadOnlyCollection<ModelElement> GetClosureList(
    ICollection<ModelElement> rootElements,
    ClosureType type,
    bool bypassDemandLoading,
    IEnumerable<DomainRoleInfo> domainRolesToNotPropagate
)
public:
ReadOnlyCollection<ModelElement^>^ GetClosureList(
    ICollection<ModelElement^>^ rootElements, 
    ClosureType type, 
    bool bypassDemandLoading, 
    IEnumerable<DomainRoleInfo^>^ domainRolesToNotPropagate
)
member GetClosureList : 
        rootElements:ICollection<ModelElement> * 
        type:ClosureType * 
        bypassDemandLoading:bool * 
        domainRolesToNotPropagate:IEnumerable<DomainRoleInfo> -> ReadOnlyCollection<ModelElement> 
public function GetClosureList(
    rootElements : ICollection<ModelElement>, 
    type : ClosureType, 
    bypassDemandLoading : boolean, 
    domainRolesToNotPropagate : IEnumerable<DomainRoleInfo>
) : ReadOnlyCollection<ModelElement>

Parameters

  • rootElements
    Type: ICollection<ModelElement>

    list of root elements that the closure will be based on

  • bypassDemandLoading
    Type: Boolean
  • domainRolesToNotPropagate
    Type: IEnumerable<DomainRoleInfo>

    List of DomainRoles to Not Skip

Return Value

Type: ReadOnlyCollection<ModelElement>
ICollection

.NET Framework Security

See Also

Reference

Partition Class

GetClosureList Overload

Microsoft.VisualStudio.Modeling Namespace