共用方式為


CompartmentMap.DisplaysCustomString Property

Gets or sets the value of DisplaysCustomString domain property. If True, the string displayed for each element in the compartment is defined by custom code.

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

Syntax

'宣告
<DomainObjectIdAttribute("12753c01-76ee-4ce9-8d8a-866bb2ea1f3c")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DisplaysCustomString As Boolean
    Get
    Set
[DomainObjectIdAttribute("12753c01-76ee-4ce9-8d8a-866bb2ea1f3c")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool DisplaysCustomString { get; set; }
[DomainObjectIdAttribute(L"12753c01-76ee-4ce9-8d8a-866bb2ea1f3c")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property bool DisplaysCustomString {
    bool get ();
    void set (bool value);
}
[<DomainObjectIdAttribute("12753c01-76ee-4ce9-8d8a-866bb2ea1f3c")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap/DisplaysCustomString.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member DisplaysCustomString : bool with get, set
function get DisplaysCustomString () : boolean
function set DisplaysCustomString (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CompartmentMap Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace