Compartment.Collapse Method
Collapses the compartment shape so that only the compartment header appears.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Protected Overrides Sub Collapse
protected override void Collapse()
protected:
virtual void Collapse() override
abstract Collapse : unit -> unit
override Collapse : unit -> unit
protected override function Collapse()
Remarks
This method can be called only in a transaction.
.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.