←Select platform

GetCodeMessage Method

Summary

Retrieves the error string that is associated with the specified BarcodeExceptionCode.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public static string GetCodeMessage( 
   BarcodeExceptionCode code 
) 
Public Shared Function GetCodeMessage( _ 
   ByVal code As Leadtools.Barcode.BarcodeExceptionCode _ 
) As String 
public static string GetCodeMessage(  
   Leadtools.Barcode.BarcodeExceptionCode code 
) 
+ (NSString*)getCodeMessage:(LTBarcodeError)code; 
public static String getCodeMessage(BarcodeExceptionCode code) 
 function Leadtools.Barcode.BarcodeException.GetCodeMessage(  
   code  
) 
public: 
static String^ GetCodeMessage(  
   Leadtools.Barcode.BarcodeExceptionCode code 
)  

Parameters

code
The exception code for which to retrieve its message string.

Return Value

A String that contains the current message for code.

Remarks

By default, BarcodeException has a string message for each member of the BarcodeExceptionCode enumeration. To change the error string that corresponds to a BarcodeExceptionCode enumeration member, use SetCodeMessage.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly