EditorHasValidation.Editor 属性

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

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

语法

声明
<DomainObjectIdAttribute("224e64d0-5384-49cc-ae92-89414d9fe32c")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Editor.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Editor.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Validation",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Editor.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroOne)> _
Public Property Editor As Editor
[DomainObjectIdAttribute("224e64d0-5384-49cc-ae92-89414d9fe32c")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Editor.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Editor.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Validation", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation/Editor.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)]
public Editor Editor { get; set; }

属性值

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

.NET Framework 安全性

请参见

参考

EditorHasValidation 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间