共用方式為


Tool.Name 屬性

取得或設定名稱網域屬性的值。工具,以供參考用的名稱。

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

語法

'宣告
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Name.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Name.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("58d97a56-aa61-461e-bfe8-2ba47681d551")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Name.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<ElementNameAttribute> _
Public Property Name As String
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Name.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Name.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("58d97a56-aa61-461e-bfe8-2ba47681d551")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Tool/Name.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[ElementNameAttribute]
public string Name { get; set; }

屬性值

型別:System.String

.NET Framework 安全性

請參閱

參考

Tool 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間