Share via


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

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

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

Syntax

'Declaration
Public Function GetClosureList ( _
    rootElements As ICollection(Of ModelElement), _
    type As ClosureType _
) As ReadOnlyCollection(Of ModelElement)
public ReadOnlyCollection<ModelElement> GetClosureList(
    ICollection<ModelElement> rootElements,
    ClosureType type
)
public:
ReadOnlyCollection<ModelElement^>^ GetClosureList(
    ICollection<ModelElement^>^ rootElements, 
    ClosureType type
)
member GetClosureList : 
        rootElements:ICollection<ModelElement> * 
        type:ClosureType -> ReadOnlyCollection<ModelElement> 
public function GetClosureList(
    rootElements : ICollection<ModelElement>, 
    type : ClosureType
) : ReadOnlyCollection<ModelElement>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
ICollection

.NET Framework Security

See Also

Reference

Partition Class

GetClosureList Overload

Microsoft.VisualStudio.Modeling Namespace