Partilhar via


Propriedade Validation.UsesCustom

Obtém ou define o valor da propriedade de domínio UsesCustom.Se verdadeiro, os métodos de validação personalizada são empregados.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesCustom.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("195e83d8-5cac-47a2-8065-e143ac5184c4")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesCustom.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesCustom.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property UsesCustom As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesCustom.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("195e83d8-5cac-47a2-8065-e143ac5184c4")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesCustom.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesCustom.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool UsesCustom { get; set; }

Valor de propriedade

Tipo: System.Boolean

Segurança do .NET Framework

Consulte também

Referência

Validation Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition