Click or drag to resize

EpcComponents Property

Returns the components that comprise this Epc. Each component is one of the dot-delimited strings following the urn:epc:id: prefix of the URI, with any %xx escape sequences replaced by the corresponding character.

If e is an Epc instance, then Epc.fromComponents(e.getEpcScheme(), e.getComponents()) returns an Epc instance that is equal to e.

Example: the getComponents method for EPC URI urn:epc:id:sgtin:0614141.112345.a%2Fb returns an array containing the strings "0614141", "112345", and "a/b".


Namespace: GS1.EPC.Api
Assembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntax
C#
public virtual string[] Components { get; }

Property Value

String
See Also