共用方式為


VSTREECLOSEACTIONS Enumeration

Specifies possible actions on collapse of a tree view node, which results in the close of its child tree list.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
Public Enumeration VSTREECLOSEACTIONS
'用途
Dim instance As VSTREECLOSEACTIONS
public enum VSTREECLOSEACTIONS
public enum class VSTREECLOSEACTIONS
type VSTREECLOSEACTIONS
public enum VSTREECLOSEACTIONS

Members

Member name Description
TCA_CLOSEANDDISCARD Discard this and all its children lists.
TCA_CLOSECHILDREN Discard children lists. The children lists will also get an OnClose call.
TCA_NOTHING Do not do any list discarding; just collapse the node. This is the default if no value is specified.

Remarks

Return a value from this enumeration in response to an OnClose notification.

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace