Compartment.Name 属性

获取或设置姓名域属性的值。 隔离舱的名称。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<ElementNameAttribute> _
<DomainObjectIdAttribute("0959d956-3e08-4529-97bf-e773978da0ae")> _
Public Property Name As String
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[ElementNameAttribute]
[DomainObjectIdAttribute("0959d956-3e08-4529-97bf-e773978da0ae")]
public string Name { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参阅

参考

Compartment 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间