Partilhar via


Propriedade NamedDomainElement.Name

Obtém ou define o valor da propriedade de domínio do nome.Nome deste elemento.

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
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/Name.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("196e2260-9bfd-491a-8480-2ebfa8f6b981")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/Name.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/Name.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<ElementNameAttribute> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
Public Property Name As String
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/Name.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("196e2260-9bfd-491a-8480-2ebfa8f6b981")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/Name.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/Name.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[ElementNameAttribute]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
public string Name { get; set; }

Valor de propriedade

Tipo: System.String

Segurança do .NET Framework

Consulte também

Referência

NamedDomainElement Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition