Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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, _
bypassDemandLoading As Boolean, _
domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo), _
rootDomainRolesToNotVisit As IEnumerable(Of DomainRoleInfo) _
) As ReadOnlyCollection(Of ModelElement)
public ReadOnlyCollection<ModelElement> GetClosureList(
ICollection<ModelElement> rootElements,
ClosureType type,
bool bypassDemandLoading,
IEnumerable<DomainRoleInfo> domainRolesToNotPropagate,
IEnumerable<DomainRoleInfo> rootDomainRolesToNotVisit
)
public:
ReadOnlyCollection<ModelElement^>^ GetClosureList(
ICollection<ModelElement^>^ rootElements,
ClosureType type,
bool bypassDemandLoading,
IEnumerable<DomainRoleInfo^>^ domainRolesToNotPropagate,
IEnumerable<DomainRoleInfo^>^ rootDomainRolesToNotVisit
)
member GetClosureList :
rootElements:ICollection<ModelElement> *
type:ClosureType *
bypassDemandLoading:bool *
domainRolesToNotPropagate:IEnumerable<DomainRoleInfo> *
rootDomainRolesToNotVisit:IEnumerable<DomainRoleInfo> -> ReadOnlyCollection<ModelElement>
public function GetClosureList(
rootElements : ICollection<ModelElement>,
type : ClosureType,
bypassDemandLoading : boolean,
domainRolesToNotPropagate : IEnumerable<DomainRoleInfo>,
rootDomainRolesToNotVisit : IEnumerable<DomainRoleInfo>
) : ReadOnlyCollection<ModelElement>
Parameters
- rootElements
Type: System.Collections.Generic.ICollection<ModelElement>
list of root elements that the closure will be based on
- type
Type: Microsoft.VisualStudio.Modeling.ClosureType
type of closure to form
- bypassDemandLoading
Type: System.Boolean
- domainRolesToNotPropagate
Type: System.Collections.Generic.IEnumerable<DomainRoleInfo>
List of DomainRoles to Not Skip
- rootDomainRolesToNotVisit
Type: System.Collections.Generic.IEnumerable<DomainRoleInfo>
List of DomainRoles to not visit on root elements. This list can be used to keep relationships from being included in the closure and traversed
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
ICollection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.