共用方式為


VSTREECLOSEACTIONS Enum

Definition

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

public enum class VSTREECLOSEACTIONS
public enum class VSTREECLOSEACTIONS
enum VSTREECLOSEACTIONS
public enum VSTREECLOSEACTIONS
type VSTREECLOSEACTIONS = 
Public Enum VSTREECLOSEACTIONS
Inheritance
VSTREECLOSEACTIONS

Fields

Name Value Description
TCA_CLOSEANDDISCARD 0

Discard this and all its children lists.

TCA_CLOSECHILDREN 1

Discard children lists. The children lists will also get an OnClose(VSTREECLOSEACTIONS[]) call.

TCA_NOTHING 2

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:

Applies to