다음을 통해 공유


DslDefinitionModelSerializationBehaviorSerializationMessages.AmbiguousMoniker Method

Add an error for ambiguous moniker.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Sub AmbiguousMoniker ( _
    serializationContext As SerializationContext, _
    moniker As String, _
    element1 As ModelElement, _
    element2 As ModelElement _
)
public static void AmbiguousMoniker(
    SerializationContext serializationContext,
    string moniker,
    ModelElement element1,
    ModelElement element2
)
public:
static void AmbiguousMoniker(
    SerializationContext^ serializationContext, 
    String^ moniker, 
    ModelElement^ element1, 
    ModelElement^ element2
)
static member AmbiguousMoniker : 
        serializationContext:SerializationContext * 
        moniker:string * 
        element1:ModelElement * 
        element2:ModelElement -> unit
public static function AmbiguousMoniker(
    serializationContext : SerializationContext, 
    moniker : String, 
    element1 : ModelElement, 
    element2 : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace