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