CoreDesignSurfaceSerializationBehaviorSerializationMessages::AmbiguousMoniker Method (SerializationContext^, String^, ModelElement^, ModelElement^)

 

Add an error for ambiguous moniker.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
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.

Return to top
Show: