Metoda DomainModel.GetClosureVisitor —
Zwraca IElementVisitor, który odpowiada zamknięcia określonego typu.
Przestrzeń nazw: Microsoft.VisualStudio.Modeling
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Składnia
'Deklaracja
Public Overridable Function GetClosureVisitor ( _
type As ClosureType, _
rootElements As ICollection(Of ModelElement) _
) As IElementVisitor
public virtual IElementVisitor GetClosureVisitor(
ClosureType type,
ICollection<ModelElement> rootElements
)
Parametry
- type
Typ: Microsoft.VisualStudio.Modeling.ClosureType
Typ zamknięcia.
- rootElements
Typ: System.Collections.Generic.ICollection<ModelElement>
Kolekcja elementów głównych.
Wartość zwracana
Typ: Microsoft.VisualStudio.Modeling.IElementVisitor
IElementVisitor Obiektu.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..