# MTPropertyMetaDataSet

A collection of MTPropertyMetaData objects that describes one kind of entity (usage charge, recurring charge, product offering, and so on).

To view an object model diagram that includes MTPropertyMetaDataSet, click here.

## Program ID

Metratech.MTPropertyMetaDataSet.1

## Methods

DBAliasNameToDisplayName | Translates an alias name (in rowset) to a display name

## Properties

_NewEnum | Returns a COM Enumerator over this collection. Allows use of "for each".
Item | Returns the MTPropertyMetaData item in the collection by position or name.
Count | Returns the number of items in the collection.

# Method Detail

## _NewEnum

This method returns a COM Enumerator over this collection. Allows the use of "for each".

### Visual Basic Syntax

_NewEnum() As IUnknown

### C++ Syntax

HRESULT _NewEnum([out, retval] IUnknown**pVal);

## Item

This method returns the MTPropertyMetaData item in the collection by position or name.

### Visual Basic Syntax

Item(Key As Variant) As Variant

### C++ Syntax

HRESULT Item([in] VARIANT aKey, [out, retval] VARIANT *pVal);

## Count

This method returns the number of items in the collection.

### Visual Basic Syntax

Count() As Long

### C++ Syntax

HRESULT Count([out, retval] long *pVal);

## DBAliasNameToDisplayName

This method translates an alias name (in rowset) to a display name.

### Visual Basic Syntax

DBAliasNameToDisplayName(DBAliasName As String) As String

### C++ Syntax

HRESULT DBAliasNameToDisplayName([in] BSTR aDBAliasName, [out, retval] BSTR* apDisplayName);

##