Description
Get a property from the user-properties collection attached to an operator or to an image.
-
Property type
-
A Variant value.
-
Syntax
-
object.Item(NameID, [NameSpace]) [= value]
The Item Property syntax has these parts: |
| object | An expression evaluating to an object of type McProperties. | | NameID | Required. A Variant value. The property name (as a String) or index (as a Long)
| | NameSpace | Optional. 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.
| | value | A Variant value. | Remarks
Most objects, including images, have properties built into their interface. Some also expose an McProperties interface that gives access to named dynamic properties, or user-properties. User properties are kept in a collection and can be queried, added, removed, by name or by ID. User properties can be isolated from other properties of similar name through a NameSpace. The returned Property could be a numerical value, an array, a string, an interface pointer, or any type supported by VARIANT.
|