Dsl.PackageNamespace 属性

获取或设置 PackageNamespace 字段的特性的值。 为此 DSL 生成的 Visual Studio 包的命名空间。

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

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Dsl/PackageNamespace.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Dsl/PackageNamespace.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Dsl/PackageNamespace.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("f6f9c8de-986e-4a89-b352-a180355003b7")> _
Public Property PackageNamespace As String
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Dsl/PackageNamespace.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Dsl/PackageNamespace.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Dsl/PackageNamespace.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("f6f9c8de-986e-4a89-b352-a180355003b7")]
public string PackageNamespace { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

Dsl 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间