←Select platform

GetCodeMessage Method

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public static string GetCodeMessage( 
   BarcodeExceptionCode code 
) 
Public Shared Function GetCodeMessage( _ 
   ByVal code As BarcodeExceptionCode _ 
) As String 
+ (NSString*)getCodeMessage:(LTBarcodeError)code; 
public static String getCodeMessage(BarcodeExceptionCode code) 
public: 
static String^ GetCodeMessage(  
   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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly