Description

Delete a named attribute in this McDBNode.Attributes collection.

Return Type

None  

Syntax

object.Remove Name

The Remove Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBAttributes.
NameRequired. A String value.

The [string] name of the attribute to remove/delete.

Remarks

Attributes are always referenced by string name and NOT by numeric index. There is no way to remove an attribute by numeric index. Calling this method fires the NodeModified event, if it being monitored.

Exceptions

Error Value Description
E_INVALIDARG &H80070057 No attribute with the specified Name exists.
E_UNEXPECTED &H8001FFFF A framework error occurred while deleting the attribute.
E_ACCESSDENIED &H80070005 The McDBDatbase::LoggedUser does not have permission to write the parent McDBNode.