MatchUp Object:Matchcode:Retrieval

From Melissa Data Wiki
Jump to navigation Jump to search

← MatchUp Object Reference

MatchUp Object Matchcode Interface Navigation
Overview
Order of Operations
Mapping Information
Functions
Initialization
Creation
Retrieval
Properties
Component Information
Mapping
Change Settings
Read Settings
Modification
Saving



These functions are used to retrieve a specific matchcode from the matchcode file.

FindMatchcode

This function populates the current instance of the Matchcode object with the settings of the matchcode specified in the character string passed to the function. It accepts a single character string as its input parameter. This must be the name of an existing matchcode in the current matchcode file.

If the matchcode name is valid (represents an existing matchcode), this function returns an integer value of 1.

Syntax int = mdMC->FindMatchcode(MatchcodeName)
C int = mdMUMatchcodeFindMatchcode(mdMC, MatchcodeName)
.Net integer = mdMC.FindMatchcode(MatchcodeName)


GetMatchcodeName

This function returns a string value containing the name of the current matchcode, assuming one has been loaded via the FindMatchcode function or created with the CreateNewMatchcode function.

Syntax char = mdMC->GetMatchcodeName()
C char = mdMUMatchcodeGetMatchcodeName(mdMC)
.Net string = mdMC.MatchcodeName