EditorHasValidation.Validation Property

DomainRole Validation Editor defining the validation behavior.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.Validation

.NET Framework Security

See Also

Reference

EditorHasValidation Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace