Condividi tramite


CompartmentShape.FindCompartment(String) Method

Definition

Find the specified compartment by its Id.

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::Compartment ^ FindCompartment(System::String ^ id);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.Compartment FindCompartment (string id);
abstract member FindCompartment : string -> Microsoft.VisualStudio.Modeling.Diagrams.Compartment
override this.FindCompartment : string -> Microsoft.VisualStudio.Modeling.Diagrams.Compartment
Public Overridable Function FindCompartment (id As String) As Compartment

Parameters

id
String

Id to look for.

Returns

Compartment matching the id, or null if none found.

Applies to