Gs |
<GCPPrefixFormatList date="2016-03-23T16:55:00Z"> <entry prefix="00" gcpLength="7"/> <entry prefix="011" gcpLength="8"/> <entry prefix="018" gcpLength="10"/> <entry prefix="019" gcpLength="7"/> ... </GCPPrefixFormatList>At the time of this writing, the GCP published file is available at the URL http://www.gs1.org/gcp-length.
public class Gs1GcpLengthTable : PrefixGcpLengthTable
The Gs1GcpLengthTable type exposes the following members.
Name | Description | |
---|---|---|
![]() | Gs1GcpLengthTable(Stream) | Creates a GCP length table by reading XML from the specified InputStream. |
![]() | Gs1GcpLengthTable(String) | Creates a GCP length table by reading an XML file from the specified URL. |
![]() | Gs1GcpLengthTable(TextReader) | Creates a GCP length table by reading XML from the specified Reader. |
Name | Description | |
---|---|---|
![]() | Date | Returns the value of the date attribute from the root element of the XML file, or null if there was no date attribute or if it could not be parsed as a timestamp. |
Name | Description | |
---|---|---|
![]() | Add |
Adds a mapping specifying that any GCP beginning with the specified prefix is of the specific length.
(Inherited from PrefixGcpLengthTable) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GcpLength(String) |
Lookup a GCP length
(Inherited from PrefixGcpLengthTable) |
![]() | GcpLength(String, Int32) |
Lookup a GCP length, starting the lookup at a particular point in the key string
(Inherited from PrefixGcpLengthTable) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |