Partager via


Compartment.Title Property

Gets or sets the title for the compartment shape.

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

Syntax

'Déclaration
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("a028e377-fc1c-4600-8581-52e3f2d7c40b")> _
Public Property Title As String
    Get
    Set
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("a028e377-fc1c-4600-8581-52e3f2d7c40b")]
public string Title { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"a028e377-fc1c-4600-8581-52e3f2d7c40b")]
public:
property String^ Title {
    String^ get ();
    void set (String^ value);
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/Title.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("a028e377-fc1c-4600-8581-52e3f2d7c40b")>]
member Title : string with get, set
function get Title () : String
function set Title (value : String)

Property Value

Type: System.String
The title for the compartment shape.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace