CompartmentShape.FindCompartment(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.