Description

Determine the instantiation state of a named attribute.

Property type

A mcDBAttributePresence enumeration.  

Syntax

object.AttributeExists(Name)

The AttributeExists Property syntax has these parts:

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

The name of the attribute to determine the existence of on this McDBNode.

Remarks

Because of default values, it is possible for an McDBNode attribute to be in one of three instantiation states, represented by the mcDBAttributePresence enumeration.

Notes

For compatibility with booleans, the value for mcdbNoValue is the same as False. That is McDBNode.AttributeExists(<name>) can be used as a boolean operation as well (if it does not matter whether the value present is default or instantiated).