Aracılığıyla paylaş


FormTreeControl.delete(Int32) Method

Definition

Deletes the specified item from the form tree control.

public:
 virtual bool delete(int _Idx);
public virtual bool delete (int _Idx);
abstract member delete : int -> bool
override this.delete : int -> bool
Public Overridable Function delete (_Idx As Integer) As Boolean

Parameters

_Idx
Int32

An integer that specifies the zero-based index of the item to delete.

Returns

true if the item was successfully deleted; otherwise, false.

Remarks

The following example shows how to delete the first item in the form tree control.

// The ftc variable was a previously allocated  
// FormTreeControl variable. 
boolean bDelete; 
bDelete = ftc.delete(0);

Applies to