Partilhar via


Propriedade DomainProperty.DefaultValue

Obtém ou define o valor da propriedade de domínio DefaultValue.Valor padrão para a propriedade, fornecido como uma seqüência de caracteres.

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
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("cbfc14b9-e67f-460f-9982-4ca0f44bca66")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty/DefaultValue.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty/DefaultValue.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty/DefaultValue.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DefaultValue As String
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("cbfc14b9-e67f-460f-9982-4ca0f44bca66")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty/DefaultValue.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty/DefaultValue.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty/DefaultValue.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string DefaultValue { get; set; }

Valor de propriedade

Tipo: System.String

Segurança do .NET Framework

Consulte também

Referência

DomainProperty Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition