Click or drag to resize

Gs1ElementStringToRfidUserBank(EpcScheme) Method

Returns an RfidUserBank instance containing the AIs in this GS1 element string except for the AI(s) corresponding to one of the specified EPC schemes. The AI(s) omitted from the result will be those corresponding to the EPC scheme having the least index in the specified array, such that this element string contains the AI(s) required to construct an EPC of that scheme.

Equivalently, ToRfidUserBank(preferredSchemes) returns an RfidUserBank instance that includes all AIs except the AI(s) that would be included in the result of toEpc(preferredSchemes), if the latter method would not raise an exception.


Namespace: GS1.EPC.Api
Assembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntax
C#
public virtual RfidUserBank ToRfidUserBank(
	EpcScheme[] preferredSchemes
)

Parameters

preferredSchemes  EpcScheme
A list of the EPC schemes that may be considered to determine which AI(s) to omit, in order of preference

Return Value

RfidUserBank
Exceptions
ExceptionCondition
Gs1Exception if this element string does not contain the AI(s) required to create an EPC of any of the specified schemes.
See Also