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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
声明
<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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.