Delen via


CompartmentShape.FindCompartments Method

Searches for compartments.

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

Syntax

'Declaration
Public Overridable Function FindCompartments ( _
    listKey As Type _
) As List(Of Compartment)
public virtual List<Compartment> FindCompartments(
    Type listKey
)
public:
virtual List<Compartment^>^ FindCompartments(
    Type^ listKey
)
abstract FindCompartments : 
        listKey:Type -> List<Compartment> 
override FindCompartments : 
        listKey:Type -> List<Compartment> 
public function FindCompartments(
    listKey : Type
) : List<Compartment>

Parameters

  • listKey
    Type: System.Type

    The key that is assigned to the compartments.

Return Value

Type: System.Collections.Generic.List<Compartment>
The compartments; otherwise, null if no compartments are found.

.NET Framework Security

See Also

Reference

CompartmentShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace