Click or drag to resize

MARC21DeleteField Method

DeleteField provides access to the MarcEngine's add field function. Function requires data to be passed in mnemonic format

Namespace:  MARCEngine7
Assembly:  MARCEngine7 (in MARCEngine7.dll) Version: 1.0.22.0 (1.0.22)
Syntax
C#
public string DeleteField(
	string smarc,
	string[] arr_options,
	out int lCount
)

Parameters

smarc
Type: SystemString
MARC file in MarcEdit's mnemonic format
arr_options
Type: SystemString
array of string options (see remarks)
lCount
Type: SystemInt32
Number of changes

Return Value

Type: String
Updated marc record in mnemonic format

Implements

MARC21_InterfaceDeleteField(String, String, Int32)
Remarks
arr_options is a string array with the following values: arr_options[0]: DELETEFIELD arr_optoins[1]: [Field]; example: 245 arr_options[2]: [Find_Data]; example: looking for this value arr_options[3]: [Delete Option] 0 - binary match 1 - text match [case insensitive] 2 - regular expression arr_options[4]: [remove duplicates]; expected value is a string true - remove dups false - don't remove duplicates arr_options[5]: [Remove if not present] true false arr_options[6]: [remove by position -- position defined in arr_options[2]] true false
See Also