Click or drag to resize

IMcObjectsNamespace Property

A read/write text string property which controls and reflects the default "namespace" for the collection object. This string is initially "McOM".

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Property Namespace As String
	Get
	Set

Property Value

Type: String
Remarks
A "namespace" can be used to isolate McObject names which might otherwise collide with other names in the McObjects shared collection. McObject names must be unique within their namespace if they share the same parent object (see the Add method). Namespace is local to the instance of the collection object and initially it is "McOM". Namespace strings can be "nested" for purposes of name lookups by the Item method when the eLookupMethods argument is mcobjMatchScopedNamespace (which is usually the default). For example, a namespace of "McOM_MyObjects" will find objects with "McOM_MyObjects" namespace, but it will also find objects with the default "McOM" namespace for mcobjMatchScopedNamespace lookups. Any namespace starting with "::" is equivalent to an empty string and indicates the "global" namespace. However, it is recommended that all namespace strings you use start with "McOM" to allow scoped lookups, as described above. Assigning an empty string, e.g. Namespace="", will set the default namespace of "McOM". On assignment, a optional trailing "::", may be postpended to the assigned string. E.g., Namespace="McOM" and Namespace="McOM::" are equivalent.
See Also