Leadtools.Wia Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Code Property
See Also 
Leadtools.Wia Namespace > WiaException Class : Code Property



Gets or sets the code that caused this exception.

Syntax

Visual Basic (Declaration) 
Public Property Code As WiaExceptionCode
Visual Basic (Usage)Copy Code
Dim instance As WiaException
Dim value As WiaExceptionCode
 
instance.Code = value
 
value = instance.Code
C# 
public WiaExceptionCode Code {get; set;}
C++/CLI 
public:
property WiaExceptionCode Code {
   WiaExceptionCode get();
   void set (WiaExceptionCode value);
}

Return Value

An WiaExceptionCode value that specifies what caused this exception.

Example

For an example, refer to WiaException

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also