Collapses the shape so that its nested child shapes do not appear.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overridable Sub Collapse
'使用
Me.Collapse()
protected virtual void Collapse()
protected:
virtual void Collapse()
protected function Collapse()
Remarks
This method can only be called from 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.