EditorHasValidation.Validation 属性

DomainRole 定义验证行为的验证编辑。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Editor", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Validation.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Validation.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("9618d875-28a7-484e-9cd6-59ef8511e868")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Validation.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Validation As Validation
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Editor", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Validation.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Validation.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("9618d875-28a7-484e-9cd6-59ef8511e868")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Validation.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public Validation Validation { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.Validation

.NET Framework 安全性

请参见

参考

EditorHasValidation 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间