FormTreeControl.delete(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);