# MTNameID

This interface allows plug-ins to retrieve the ID for property names or retrieve the property name for a given ID.

## Program ID

MetraPipeline.MTNameID.1

## MTNameID Methods

GetName | Retrieves a property name for a given property ID. This method is inefficient and should be used sparingly.
GetNameID | Retrieves a property ID for a given property name.

## Example

Example to be provided in a future release of this online help system.

# Method Detail

## GetNameID

Retrieves a property ID for a given property name.

### Visual Basic Syntax

Function GetNameID(name As String) As Long

### C++ Syntax

HRESULT GetNameID(BSTR name, [out,retval] long * id);

### Arguments

name

Property name.

### Return Value

ID of the property name.

## GetName

Retrieves a property name for a given property ID. This method is inefficient and should be used sparingly.

### Visual Basic Syntax

Function GetName(id As Long) As String

### C++ Syntax

HRESULT GetName(long id, [out, retval] BSTR * name);

### Arguments

id

ID of the property name.

### Return Value

Property name.