共用方式為


CompartmentDescription.Name Property

Gets or sets the Name identifier of the Compartment.

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

Syntax

'宣告
Public Property Name As String
    Get
    Set
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
member Name : string with get, set
function get Name () : String
function set Name (value : String)

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

CompartmentDescription Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace