←Select platform

GetCodeMessage Method

Summary

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

Syntax

C#
VB
Java
Objective-C
C++
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.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly