CoreDesignSurfaceSerializationBehaviorSerializationMessages::AmbiguousMoniker Method (SerializationContext^, String^, ModelElement^, ModelElement^)
Visual Studio 2015
Add an error for ambiguous moniker.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: static void AmbiguousMoniker( SerializationContext^ serializationContext, String^ moniker, ModelElement^ element1, ModelElement^ element2 )
Parameters
- serializationContext
-
Type:
Microsoft.VisualStudio.Modeling::SerializationContext^
SerializationContext to add the error message to.
- moniker
-
Type:
System::String^
The ambiguous moniker string.
- element1
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The first element using the given moniker.
- element2
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The second element using the given moniker.
Show: