PrintExtensionContext.FromDeviceId(String) 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 context for the printer extension object based on the DeviceInformation ID.
public:
static Platform::Object ^ FromDeviceId(Platform::String ^ deviceId);
static IInspectable FromDeviceId(winrt::hstring const& deviceId);
public static object FromDeviceId(string deviceId);
function fromDeviceId(deviceId)
Public Shared Function FromDeviceId (deviceId As String) As Object
Parameters
- deviceId
-
String
Platform::String
winrt::hstring
The device information ID for the print device.
Returns
Pointer to the context.