-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.ClaimedPosPrinter.Close |
winrt method |
xbox |
Disposes the claimed point-of-service printer object synchronously, releases the exclusive claim on the printer and disables it. For C++ and JavaScript, use Close(). For C# and Visual Basic, use Dispose().
You cannot call Close methods through Visual C++ component extensions (C++/CX) on Windows Runtime class instances where the class implemented IClosable. Instead, Visual C++ component extensions (C++/CX) code for runtime classes should call the destructor or set the last reference to null.