Share via


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

'Declaration
Public ReadOnly Property Partitions As Dictionary(Of Guid, Partition)
'Usage
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 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

Context Members

Microsoft.VisualStudio.Modeling Namespace