Item Method (CustomMetadataCollection Class)

The Item method gets the custom metadata item with the given name.

Syntax

VT_DISPATCH = objMC.Item(index as Variant)

Element

Description

VT_DISPATCH

The ICustomMetedataItem interface for the given name.

objMC

A Mathcad Worksheet or Region object.

index

The index into the collection. If index is a string, returns the items whose name equals the argument value. If index is a number, returns the corresponding element of the collection. The base index of the collection is 0 (zero). If the specified item does not exist, an exception is thrown.