Condividi tramite


Proprietà NamedDomainElement.DisplayName

Ottiene o imposta il valore della proprietà del dominio DisplayName.Il nome che verrà visualizzato nella finestra di progettazione generata per questo elemento.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintassi

'Dichiarazione
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("37ccf33c-779b-456a-9add-9a538c0e8406")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DisplayName As String
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("37ccf33c-779b-456a-9add-9a538c0e8406")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string DisplayName { get; set; }

Valore proprietà

Tipo: System.String

Sicurezza di .NET Framework

Vedere anche

Riferimenti

NamedDomainElement Classe

Spazio dei nomi Microsoft.VisualStudio.Modeling.DslDefinition