Gets the mappings from the compartment shape to its compartments.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overridable Function GetCompartmentMappings ( _
melType As Type _
) As CompartmentMapping()
'使用
Dim melType As Type
Dim returnValue As CompartmentMapping()
returnValue = Me.GetCompartmentMappings(melType)
protected virtual CompartmentMapping[] GetCompartmentMappings(
Type melType
)
protected:
virtual array<CompartmentMapping^>^ GetCompartmentMappings(
Type^ melType
)
protected function GetCompartmentMappings(
melType : Type
) : CompartmentMapping[]
Parameters
melType
Type: System.TypeThe type of model element to which the compartment shape is mapped.
Return Value
Type: []
The mappings from the compartment shape to its compartments.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.