DslDefinitionModelSerializationBehaviorSerializationMessages.AmbiguousMoniker Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add an error for ambiguous moniker.
public:
static void AmbiguousMoniker(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::String ^ moniker, Microsoft::VisualStudio::Modeling::ModelElement ^ element1, Microsoft::VisualStudio::Modeling::ModelElement ^ element2);
public static void AmbiguousMoniker (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, string moniker, Microsoft.VisualStudio.Modeling.ModelElement element1, Microsoft.VisualStudio.Modeling.ModelElement element2);
static member AmbiguousMoniker : Microsoft.VisualStudio.Modeling.SerializationContext * string * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub AmbiguousMoniker (serializationContext As SerializationContext, moniker As String, element1 As ModelElement, element2 As ModelElement)
Parameters
- serializationContext
- SerializationContext
SerializationContext to add the error message to.
- moniker
- String
The ambiguous moniker string.
- element1
- ModelElement
The first element using the given moniker.
- element2
- ModelElement
The second element using the given moniker.