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




Gets or sets the code that caused this exception.

Syntax

Visual Basic (Declaration) 
Public Property Code As RasterExceptionCode
Visual Basic (Usage)Copy Code
Dim instance As RasterException
Dim value As RasterExceptionCode
 
instance.Code = value
 
value = instance.Code
C# 
public RasterExceptionCode Code {get; set;}
Managed Extensions for C++ 
public: __property RasterExceptionCode get_Code();
public: __property void set_Code( 
   RasterExceptionCode value
);
C++/CLI 
public:
property RasterExceptionCode Code {
   RasterExceptionCode get();
   void set (RasterExceptionCode value);
}

Return Value

An RasterExceptionCode value that specifies what caused this exception.

Example

For an example, refer to RasterException

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also