Поделиться через


NamedDomainElement.Name - свойство

Возвращает или задает значение свойства домена имени.Имя элемента.

Пространство имен:  Microsoft.VisualStudio.Modeling.DslDefinition
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Синтаксис

'Декларация
<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; }

Значение свойства

Тип: System.String

Безопасность платформы .NET Framework

См. также

Ссылки

NamedDomainElement Класс

Microsoft.VisualStudio.Modeling.DslDefinition - пространство имен