CompartmentShape.GetCompartmentMappings Method (Type)

Gets the mappings from the compartment shape to its compartments.

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

Syntax

'Declaration
Protected Overridable Function GetCompartmentMappings ( _
    melType As Type _
) As CompartmentMapping()
protected virtual CompartmentMapping[] GetCompartmentMappings(
    Type melType
)
protected:
virtual array<CompartmentMapping^>^ GetCompartmentMappings(
    Type^ melType
)
abstract GetCompartmentMappings : 
        melType:Type -> CompartmentMapping[] 
override GetCompartmentMappings : 
        melType:Type -> CompartmentMapping[] 
protected function GetCompartmentMappings(
    melType : Type
) : CompartmentMapping[]

Parameters

  • melType
    Type: Type

    The type of model element to which the compartment shape is mapped.

Return Value

Type: array<Microsoft.VisualStudio.Modeling.Diagrams.CompartmentMapping[]
The mappings from the compartment shape to its compartments.

.NET Framework Security

See Also

Reference

CompartmentShape Class

GetCompartmentMappings Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace