CodeGlyphX logo
CodeGlyphX

API Reference

Struct

Gs1Element

Namespace CodeGlyphX
Assembly CodeGlyphX
Base ValueType
Modifiers sealed

Represents one GS1 element (AI and data) with explicit length semantics.

Inheritance

  • ValueType
  • Gs1Element

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public static Gs1Element Create(String ai, String data) #
Returns: Gs1Element

Creates an element using official catalog length and separator semantics.

Parameters

ai System.String requiredposition: 0
data System.String requiredposition: 1
public static Gs1Element Fixed(String ai, String data) #
Returns: Gs1Element

Creates an expert-specified fixed-length element without catalog lookup.

Parameters

ai System.String requiredposition: 0
data System.String requiredposition: 1
public override String ToString() #
Returns: String
public static Gs1Element Variable(String ai, String data) #
Returns: Gs1Element

Creates an expert-specified variable-length element without catalog lookup.

Parameters

ai System.String requiredposition: 0
data System.String requiredposition: 1

Properties

public String Ai { get; } #

Gets the Application Identifier.

public String Data { get; } #

Gets the AI data field.

public Boolean IsVariableLength { get; } #

Gets whether FNC1 is required when another element follows.

public Gs1ApplicationIdentifier Definition { get; } #

Gets the official definition when the AI is assigned in the bundled catalog.