Click or drag to resize

Gs1ElementStringFromBarCodeCharacters(String) Method

Constructs a Gs1ElementString instance from the specified bar code representation. In the bar code representation, there are no whitespace characters, and each AI is written as its AI number followed immediately by its value. Each variable length AI except the last must be followed by a GS character (the character whose code is 29 in decimal).

Namespace: GS1.EPC.Api
Assembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntax
C#
public static Gs1ElementString FromBarCodeCharacters(
	string barCode
)

Parameters

barCode  String
 

Return Value

Gs1ElementString
Exceptions
ExceptionCondition
Gs1Exception If the syntax is incorrect, or any AI is unknown, or any AI is repeated, or the syntax of the AI value is not appropriate for that AI.
See Also