Udostępnij za pośrednictwem


Metoda SimpleMonikerResolver.OnAmbiguousMoniker —

Weryfikuje, czy dwa elementy mają tej samej monikera.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Składnia

'Deklaracja
Protected Overridable Sub OnAmbiguousMoniker ( _
    context As SerializationContext, _
    moniker As String, _
    element1 As ModelElement, _
    element2 As ModelElement _
)
protected virtual void OnAmbiguousMoniker(
    SerializationContext context,
    string moniker,
    ModelElement element1,
    ModelElement element2
)

Parametry

Uwagi

Metoda ta jest wywoływana, gdy dwa nowe elementy tej samej monikera.Powoduje to, że niejednoznaczności podczas rozpoznawania monikera.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

SimpleMonikerResolver Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling