Description
Remove a category (flag) from this McDBCategories collection.
-
Return Type
-
None
-
Syntax
-
object.Remove Description
The Remove Method syntax has these parts: |
| object | An expression evaluating to an object of type McDBCategories. | | Description | Required. A String value. The string name of the category to remove.
| Remarks
Like Add, the effect of this method is context sensitive:
For McDBDatabase.Categories, the category is removed from the database,
it will no longer be valid to add this category to any McDBType or
McDBNode in the McDBDatabase. It is not valid to remove a category
that is associated with an McDBType or McDBNode.
For McDBType.Categories, the category is removed from the list of those
automatically associated with new McDBNode instances created of the
parent McDBType. This operation has no effect on existing McDBNode
instances, it only prevents the category from being automatically
added to McDBNode instances created after this call.
For McDBNode.Categories, The category is removed from those associated
with the McDBNode.
Exceptions
Notes
The category DBRoot is defined by McDBLib and is never a valid parameter to Remove. Removing a category from an McDBType or McDBNode does not remove it from the McDBDatabase, even if there are no longer any objects referencing it (i.e. the category will remain valid for addition to McDBNode or McDBType instances).
|