共用方式為


NamedDomainElement.IsDisplayNameTracking Property

Gets or sets the value of IsDisplayNameTracking domain property. If True, the DisplayName property tracks other data in the DSL definition.

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

Syntax

'宣告
<DomainObjectIdAttribute("e93c2e16-cfe8-4761-8680-3f73623ebfb7")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property IsDisplayNameTracking As Boolean
    Get
    Set
[DomainObjectIdAttribute("e93c2e16-cfe8-4761-8680-3f73623ebfb7")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool IsDisplayNameTracking { get; set; }
[DomainObjectIdAttribute(L"e93c2e16-cfe8-4761-8680-3f73623ebfb7")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property bool IsDisplayNameTracking {
    bool get ();
    void set (bool value);
}
[<DomainObjectIdAttribute("e93c2e16-cfe8-4761-8680-3f73623ebfb7")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/IsDisplayNameTracking.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member IsDisplayNameTracking : bool with get, set
function get IsDisplayNameTracking () : boolean
function set IsDisplayNameTracking (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

NamedDomainElement Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace