QueryStringSerializer
ParseQueryString Method
|
Parses a querystring-type parameter for
IBarcodeSettings
properties.
The minimum properties expected are "Type", for the type of the barcode,
and "Data", for the data to render with the barcode.
Namespace:
Spire.Barcode.WebUI
Assembly:
Spire.Barcode (in Spire.Barcode.dll) Version: 7.3.7.0 (7.3.7.9046)
Syntax
public static IBarcodeSettings ParseQueryString(
NameValueCollection queryString
)
Public Shared Function ParseQueryString (
queryString As NameValueCollection
) As IBarcodeSettings
public:
static IBarcodeSettings^ ParseQueryString(
NameValueCollection^ queryString
)
static member ParseQueryString :
queryString : NameValueCollection -> IBarcodeSettings
Parameters
-
queryString
-
Type:
System.Collections.Specialized
NameValueCollection
The collection of key-value pairs for parsing.
Return Value
Type:
IBarcodeSettings
The assembled
IBarcodeSettings
.
Exceptions
Exception
|
Condition
|
ArgumentNullException
|
If the querystring parameter is
null
.
|
InvalidOperationException
|
If the querystring parameter has any invalid property for the settings.
|
See Also