newObjects-logo.gif (1024 bytes) ScriptManager2 reference
BOOL SCPHOSTCLNT::Remove(
LPCTSTR szItemName // Name of the item to be removed
);
BOOL SCPHOSTCLNT::Remove(
int nItemIndex // Index of the item in the namespaces collection
);

Removes the item from the namespaces collection.

Returns TRUE/FALSE on success/failure

 

Remarks:

Fails if the item does not exist in the collection or if the object is locked - see locked property

See also:

Script Manager2 Remove method

newObjects Copyright newObjects 2001-2005