Partager via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
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: System.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