←Select platform

GetCodeMessage Method

Summary
Retrieves the error string that is associated with the specified BarcodeExceptionCode.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static string GetCodeMessage( 
   BarcodeExceptionCode code 
) 
+ (NSString*)getCodeMessage:(LTBarcodeError)code; 
public static String getCodeMessage(BarcodeExceptionCode code) 
public: 
static String^ GetCodeMessage(  
   BarcodeExceptionCode code 
)  
def GetCodeMessage(self,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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.