PosPrinter.GetDefaultAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the default paired or locally-connected printer.
public:
static IAsyncOperation<PosPrinter ^> ^ GetDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<PosPrinter> GetDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<PosPrinter> GetDefaultAsync();
function getDefaultAsync()
Public Shared Function GetDefaultAsync () As IAsyncOperation(Of PosPrinter)
Returns
The default locally-connected printer.
- Attributes
Remarks
The app manifest must include the PointofService device capability. If the manifest omits this capability, this method returns null and no exception is generated.