SGDGET Method (String, Connection)
|
Constructs an SGD GET command and sends it to the printer.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax public static string GET(
string setting,
Connection printerConnection
)
Public Shared Function GET (
setting As String,
printerConnection As Connection
) As String
public:
static String^ GET(
String^ setting,
Connection^ printerConnection
)
Parameters
- setting
- Type: SystemString
the SGD setting - printerConnection
- Type: Zebra.Sdk.CommConnection
the connection to send the command to
Return Value
Type:
Stringthe setting's value
Exceptions Remarks
This method waits for a maximum of
MaxTimeoutForRead milliseconds for any data to be received. Once some data has been
received it waits until no more data is available within
TimeToWaitForMoreData milliseconds. This method returns the
SGD value associated with
setting without the surrounding quotes.
See Also