共用方式為


Editor.Icon Property

Gets or sets the value of Icon domain property. Icon associated with the editor.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("e5a96253-b573-4b1f-bef2-c1308e8b0b9c")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Icon As String
    Get
    Set
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("e5a96253-b573-4b1f-bef2-c1308e8b0b9c")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string Icon { get; set; }
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"e5a96253-b573-4b1f-bef2-c1308e8b0b9c")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property String^ Icon {
    String^ get ();
    void set (String^ value);
}
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("e5a96253-b573-4b1f-bef2-c1308e8b0b9c")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Editor/Icon.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member Icon : string with get, set
function get Icon () : String
function set Icon (value : String)

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

Editor Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace