MatchUp Object:Matchcode:Modification
MatchUp Object Matchcode Interface Navigation | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Overview | |||||||||||
Order of Operations | |||||||||||
Mapping Information | |||||||||||
|
These functions add, insert, update, or delete matchcode components from the current Matchcode object.
AddMatchcodeItem
This function accepts a MatchcodeComponent object as its only argument and adds this component as the last component for this matchcode.
To add a component at any position other than the last component, use the InsertMatchcodeItem function instead. To modify an existing matchcode, use the ChangeMatchcodeItem function.
This function returns an enumerated value of the type MatchcodeStatus that indicates if the component was successfully added to the matchcode and, if not, the reason for the error.
For a list of these enumerations, see MatchcodeStatus Enumerations.
Syntax | MatchcodeStatus = mdMC->AddMatchcodeItem(MatchcodeComponent) |
---|---|
C | mdMUMatchcodeStatus = mdMUMatchcodeAddMatchcodeItem(mdMCC, mdMUMatchcodeComponent) |
.Net | MatchcodeStatus = mdMC.AddMatchcodeItem(MatchcodeComponent) |
InsertMatchcodeItem
This function adds a new MatchcodeComponent object to the current matchcode in any position other than the very last.
This function accepts two arguments: the MatchcodeComponent object to be added; and an integer value indicating the position where the component is to be inserted. The integer value can be from one to the number of components currently stored in the current Matchcode object.
This function returns an enumerated value of the type MatchcodeStatus that indicates if the component was successfully added to the matchcode and, if not, then the reason for the error.
For a list of these enumerations, see MatchcodeStatus Enumerations.
Syntax | MatchcodeStatus = mdMC->InsertMatchcodeItem(MatchcodeComponent, int) |
---|---|
C | mdMUMatchcodeStatus = mdMUMatchcodeInsertMatchcodeItem(mdMCC, mdMUMatchcodeComponent, int) |
.Net | MatchcodeStatus = mdMC.InsertMatchcodeItem(MatchcodeComponent, integer) |
ChangeMatchcodeItem
This function replaces an existing MatchcodeComponent object at a specific position in the component order of the current Matchcode object with a modified or new component.
This function accepts two arguments: the MatchcodeComponent object to be added; and an integer value indicating the position where the component is to be replaced. The integer value can be from one to the number of components currently stored in the current Matchcode object.
This function returns an enumerated value of the type MatchcodeStatus that indicates if the component was successfully added to the matchcode and, if not, then the reason for the error.
For a list of these enumerations, see MatchcodeStatus Enumerations.
Syntax | MatchcodeStatus = mdMC->ChangeMatchcodeItem(MatchcodeComponent, int) |
---|---|
C | mdMUMatchcodeStatus = mdMUMatchcodeChangeMatchcodeItem(mdMCC, mdMUMatchcodeComponent, int) |
.Net | MatchcodeStatus = mdMC.ChangeMatchcodeItem(MatchcodeComponent, integer) |
DeleteMatchcodeItem
This function removes a specific MatchcodeComponent object from a Matchcode object.
This function accepts a single argument: the integer value indicating the position where the component is to be deleted. The integer value can be from one to the number of components currently stored in the current Matchcode object.
This function returns an enumerated value of the type MatchcodeStatus that indicates if the component was successfully added to the matchcode and, if not, then the reason for the error.
For a list of these enumerations, see MatchcodeStatus Enumerations.
Syntax | MatchcodeStatus = mdMC->DeleteMatchcodeItem(int) |
---|---|
C | mdMUMatchcodeStatus = mdMUMatchcodeDeleteMatchcodeItem(int) |
.Net | MatchcodeStatus = mdMC.DeleteMatchcodeItem(integer) |