共用方式為


ModelElement.Partition Property

Gets or sets the Partition that contains the element.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property Partition As Partition
[BrowsableAttribute(false)]
public Partition Partition { get; set; }
[BrowsableAttribute(false)]
public:
property Partition^ Partition {
    Partition^ get ();
    void set (Partition^ value);
}
[<BrowsableAttribute(false)>]
member Partition : Partition with get, set
function get Partition () : Partition 
function set Partition (value : Partition)

Property Value

Type: Microsoft.VisualStudio.Modeling.Partition
The Partition that contains the element.

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace