CharValue property

The CharValue property sets or gets the data value of a character, which can be a digit in a multiple-digit number or a single character in a string. You can use this property to search for or assign a value to a character in a field.

VBScript restriction: Because extended properties are not supported through the C# .NET Interop interface, you must instead use the set_CharValue method or the get_CharValue method.

Syntax

VBScript
oDCO.CharValue (nIndex as Long) as String.

Applies to

Character objects only.

Type

Read and write.

Arguments

nIndex
0 specifies the primary value. When the field contains multiple recognition, voting, or multiple-pass data entry values, 1 specifies the first alternative, 2 specifies the second alternative, and so on.