次の方法で共有


FormTreeControl.hasChanged Method

Definition

Overloads

hasChanged()

Sets or returns a value that indicates whether the contents of the tree control have changed.

hasChanged(Boolean)

hasChanged()

Sets or returns a value that indicates whether the contents of the tree control have changed.

public:
 override bool hasChanged();
public override bool hasChanged ();
override this.hasChanged : unit -> bool
Public Overrides Function hasChanged () As Boolean

Returns

true if the contents of the tree control have changed; otherwise, false.

Remarks

The following example shows how to return and set the value that indicates whether the contents of the tree control have changed.

boolean bHasChanged; 
// The ctrl variable was previously assigned 
// as a FormTreeControl variable. 
// Retrieve the hasChanged value. 
bHasChanged = ctrl.hasChanged(); 
// Modify the hasChanged value. 
ctrl.hasChanged(true);

Applies to

hasChanged(Boolean)

public:
 override bool hasChanged(bool _val);
public override bool hasChanged (bool _val);
override this.hasChanged : bool -> bool
Public Overrides Function hasChanged (_val As Boolean) As Boolean

Parameters

_val
Boolean

The value to assign as the hasChanged value for the tree control.

Returns

Applies to