次の方法で共有


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

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace