| Visual Basic (Declaration) | |
|---|---|
Public Function GetField( _ ByVal fieldType As MicrFieldTypes _ ) As MicrFieldResult | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public MicrFieldResult GetField( MicrFieldTypes fieldType ) | |
| Managed Extensions for C++ | |
|---|---|
public: MicrFieldResult* GetField( MicrFieldTypes fieldType ) | |
| C++/CLI | |
|---|---|
public: MicrFieldResult^ GetField( MicrFieldTypes fieldType ) | |
Parameters
- fieldType
- The MICR field to be retrieved.
Return Value
A MicrField object for the specified MicrField.| Exception | Description |
|---|---|
| InvalidOperationException | Thrown if the TextLineResult object has not be parsed. |
| InvalidEnumArgumentException | Thrown if the fieldType argument is a bitwise combination of two or more MicrFieldTypes. |
| ArgumentOutOfRangeException | Thrown if the fieldType argument represents a field that was not parsed. |
This method will throw a System.ArgumentOutOfRangeException for the following reasons:
- If this text line has not been parsed using TextLineResult.Parse.
- If the specified field type is not parsable. Use FieldTypes to determine which fields are parseable.
