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 the specified EPC scheme. This element string must contain the AI or AIs corresponding to the specified EPC scheme as follows:
EPC SchemeAIs
SGTINGTIN (AI 01) + SERIAL (AI 21)
SSCCSSCC (AI 00)
SGLNGLN (AI 414), with or without GLN Extension (AI 254)
GRAIGRAI (AI 8003) that includes the optional serial number
GIAIGIAI (AI 8004)
GDTIGDTI (AI 253) that includes the optional serial number
GSRNGSRN-Recipient (AI 8018)
GSRNPGSRN-Provider (AI 8017)
CPICPID (AI 8010) + CPID SERIAL (AI 8011)
SGCNGCN (AI 255) that includes the optional serial number
ITIPITIP (AI 8006) + SERIAL (AI 21)
Equivalently, ToRfidUserBank(scheme) returns an RfidUserBank instance that includes all AIs except the AI(s) that would be included in the result of ToEpc(gcpLength, scheme), 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 scheme
)

Parameters

scheme  EpcScheme
The desired EPC scheme to be omitted from the user memory bank

Return Value

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