Retrieves the names of the files which are stored on the printer. This method only returns files which have one of the
extensions in extensions.
Namespace:
ZSDK_API.PrinterAssembly: ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0
Syntax
C# |
---|
string[] RetrieveFileNames( string[] extensions ) |
Visual Basic (Declaration) |
---|
Function RetrieveFileNames ( _ extensions As String() _ ) As String() |
Parameters
- extensions
- Type: array<
System..::.String
>[]()[]
The extensions to filter on.
Return Value
A list of file names.Exceptions
Exception | Condition |
---|---|
ZSDK_API.ApiException..::.ZebraPrinterConnectionException | If an I/O error occurs. |
ZSDK_API.ApiException..::.ZebraIllegalArgumentException | If the response from the printer could not be parsed. |
ZSDK_API.ApiException..::.ZebraGeneralException | If the file contents could not be sent. |