Collection Methods - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

Collection Methods

Add

Purpose:

This method adds the pNewVal item to the end of the collection. The VARIANT should be of IDispatch type and be the contained collection's interface.

Syntax:

HRESULT Add(
[in] VARIANT *pNewVal);

Remove

Purpose:

This method removes the indicated item from the collection

Syntax:

HRESULT Remove(
[in] long Index);

Sort

Purpose:

This method is implemented on the MetaInfoKeyList, IMetaInfoCLassKeyList and MetaInfoList objects only.

Description:

The list is sorted by the Name property in ascending order (the default) if Asc is true, and is case-insensitive (the default) if CaseIns is true. Note that the sort is not done by Teradata, but in memory on the Windows platform where the COM component is installed.

Syntax:

HRESULT Sort(
[in, optional] VARIANT_BOOL Asc, 
[in, optional] VARIANT_BOOL CaseIns)