共用方式為


Context.Partitions Property

Gets the partitions that the context uses.

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

Syntax

'宣告
Public ReadOnly Property Partitions As Dictionary(Of Guid, Partition)
    Get
public Dictionary<Guid, Partition> Partitions { get; }
public:
property Dictionary<Guid, Partition^>^ Partitions {
    Dictionary<Guid, Partition^>^ get ();
}
member Partitions : Dictionary<Guid, Partition>
function get Partitions () : Dictionary<Guid, Partition>

Property Value

Type: System.Collections.Generic.Dictionary<Guid, Partition>
A dictionary containing the partitions.

Remarks

The dictionary keys are the IDs of the partitions, and the dictionary values are the partition instances.

.NET Framework Security

See Also

Reference

Context Class

Microsoft.VisualStudio.Modeling Namespace