CompartmentShape::FindCompartment Method (String^)

 

Searches for a compartment.

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

public:
virtual Compartment^ FindCompartment(
	String^ id
)

Parameters

id
Type: System::String^

The ID that is assigned to the compartment.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::Compartment^

The compartment; otherwise, null if no compartment is found.

Return to top
Show: