Description

Test whether a property exists

Property type

A Boolean value.  

Syntax

object.Exists(NameID, [NameSpace])

The Exists Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McProperties.
NameIDRequired. A Variant value.

The property name (as a String) or index (as a Long)

NameSpaceOptional. A String value.

Optional namespace. Namespaces can be used to avoid name conficts between different properties with identical names. When this optional parameter is not supplied, the current NamespaceFilter is used. The Name Space is ignored if NameID is an index.

Remarks

This read-only property can be used to test whether a property of a given name exists. This is typically used before adding a new property.