Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Searches for a compartment.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable Function FindCompartment ( _
id As String _
) As Compartment
public virtual Compartment FindCompartment(
string id
)
public:
virtual Compartment^ FindCompartment(
String^ id
)
abstract FindCompartment :
id:string -> Compartment
override FindCompartment :
id:string -> Compartment
public function FindCompartment(
id : String
) : Compartment
Parameters
id
Type: StringThe ID that is assigned to the compartment.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.Compartment
The compartment; otherwise, null if no compartment is 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.