Delete Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

Navigation:  Additional Resources > OLE/COM Automation > Methods > Miscellaneous >

Delete Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

function Delete(Element: Integer; const Name: WideString; SectionID, All: Integer): Integer

Section

Description

Deletes the Selected Element.

Section

Parameters

Input Parameter

Usage

Element

Element Type

Name

Element Name

SectionID

Delete SectionID of Multi-Section Line (used only for multi-section lines - set to -1 for other elements)

All

Delete All Elements of a Multi-Section Line (1 - delete all, 0 - delete only SectionID)

Section

Method Result

1 - Method Success

0 - Method Failure

Section

Example

Success := PowaMasterObj.Delete(0,Bus1,-1,0);

Section

See Also

SetStatus

Move

Section