共用方式為


DslLibraryBase.Namespace 屬性

取得或設定 Namespace 網域屬性的值。DSL 文件庫的 Namespace。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

語法

'宣告
<DomainObjectIdAttribute("ae8296a7-fa61-4ed7-9019-838e937e53c0")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/Namespace.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/Namespace.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/Namespace.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Namespace As String
[DomainObjectIdAttribute("ae8296a7-fa61-4ed7-9019-838e937e53c0")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/Namespace.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/Namespace.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/Namespace.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string Namespace { get; set; }

屬性值

型別:System.String

.NET Framework 安全性

請參閱

參考

DslLibraryBase 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間