SimpleMonikerResolver::OnAmbiguousMoniker Method (SerializationContext^, String^, ModelElement^, ModelElement^)
Visual Studio 2015
Verifies whether two elements have the same moniker.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
protected: virtual void OnAmbiguousMoniker( SerializationContext^ context, String^ moniker, ModelElement^ element1, ModelElement^ element2 )
Parameters
- context
-
Type:
Microsoft.VisualStudio.Modeling::SerializationContext^
The serialization context.
- moniker
-
Type:
System::String^
The moniker.
- element1
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The first element to check.
- element2
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The second element to check.
This method is called when two new elements have the same moniker. This causes ambiguity during the moniker resolution.
Show: