Context.Partitions Property

Gets the partitions that the context uses.

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

Syntax

'宣言
Public ReadOnly Property Partitions As Dictionary(Of Guid, Partition)
'使用
Dim instance As Context
Dim value As Dictionary(Of Guid, Partition)

value = instance.Partitions
public Dictionary<Guid, Partition> Partitions { get; }
public:
property Dictionary<Guid, Partition^>^ Partitions {
    Dictionary<Guid, Partition^>^ get ();
}
public function get Partitions () : Dictionary<Guid, Partition>

Property Value

Type: System.Collections.Generic.Dictionary<Guid, Partition>

A [Dictionary] object with the partitions.

Remarks

The Dictionary keys are the IDs of the partitions. The Dictionary values are the partition instances.

Permissions

See Also

Reference

Context Class

Context Members

Microsoft.VisualStudio.Modeling Namespace