CoreDesignSurfaceDomainModel.GetClosureFilter(ClosureType, ICollection<ModelElement>) Méthode

Définition

Retourne un IElementVisitorFilter qui correspond au ClosureType.

public:
 override Microsoft::VisualStudio::Modeling::IElementVisitorFilter ^ GetClosureFilter(Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);
public override Microsoft.VisualStudio.Modeling.IElementVisitorFilter GetClosureFilter (Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements);
override this.GetClosureFilter : Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.IElementVisitorFilter
Public Overrides Function GetClosureFilter (type As ClosureType, rootElements As ICollection(Of ModelElement)) As IElementVisitorFilter

Paramètres

type
ClosureType

type de fermeture

rootElements
ICollection<ModelElement>

collection d'éléments racines

Retours

IElementVisitorFilter

IElementVisitorFilter ou null

S’applique à