Partager via


DslLibraryBase.ValidateMonikerAmbiguity Method

Check to make sure all elements in the model will have unambiguous monikers when serialized.

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

Syntax

'Declaration
<ValidationMethodAttribute(ValidationCategories.Menu Or ValidationCategories.Save Or ValidationCategories.Load)> _
Protected Overridable Sub ValidateMonikerAmbiguity ( _
    context As ValidationContext _
)
[ValidationMethodAttribute(ValidationCategories.Menu|ValidationCategories.Save|ValidationCategories.Load)]
protected virtual void ValidateMonikerAmbiguity(
    ValidationContext context
)
[ValidationMethodAttribute(ValidationCategories::Menu|ValidationCategories::Save|ValidationCategories::Load)]
protected:
virtual void ValidateMonikerAmbiguity(
    ValidationContext^ context
)
[<ValidationMethodAttribute(ValidationCategories.Menu|ValidationCategories.Save|ValidationCategories.Load)>]
abstract ValidateMonikerAmbiguity : 
        context:ValidationContext -> unit 
[<ValidationMethodAttribute(ValidationCategories.Menu|ValidationCategories.Save|ValidationCategories.Load)>]
override ValidateMonikerAmbiguity : 
        context:ValidationContext -> unit
protected function ValidateMonikerAmbiguity(
    context : ValidationContext
)

Parameters

.NET Framework Security

See Also

Reference

DslLibraryBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace