CompartmentShape.FindCompartments Method
Searches for 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
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
- 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.