The following table contains information on the ISCModelObjectCollection interface, which is used to delete model objects:
|
Signature |
Description |
Valid Arguments |
|---|---|---|
|
VARIANT_BOOL Remove(VARIANT Object) |
Removes the specified model object from a model |
Object:
|
Example 23
The following example illustrates how to delete objects in C++ if there is a model objects collection and that a transaction has opened:
CString csID; // ID of object to be removed // … CComVariant bRetVal = scObjColPtr->Remove(COleVariant(csID));
The following example illustrates how to delete objects in Visual Basic .NET if there is a model objects collection and that a transaction has opened:
bRetVal = scObjCol.Remove(objID)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |