Click or drag to resize

DeviceLastReturnCode Property

Gets the last TwainReturnCode from getting or setting a property.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public TwainReturnCode LastReturnCode { get; }

Property Value

Type: TwainReturnCode
The last return code from getting or setting a property.
Remarks

This property is used as a way to determine whether getting or setting a property value succeeded, rather than throwing an exception. By using a property it simplifies coding and there is no slow down when trying to access unsupported properties.

Use GetConditionCode to learn the reason for a failure.

See Also