Share via


Print3DDevice.FromIdAsync(String) Method

Definition

Creates a Print3DDevice object that represents a 3D printer connected to the device.

public:
 static IAsyncOperation<Print3DDevice ^> ^ FromIdAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<Print3DDevice> FromIdAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<Print3DDevice> FromIdAsync(string deviceId);
function fromIdAsync(deviceId)
Public Shared Function FromIdAsync (deviceId As String) As IAsyncOperation(Of Print3DDevice)

Parameters

deviceId
String

Platform::String

winrt::hstring

The device ID of the 3D printer.

Returns

A Print3DDevice object that corresponds to the specified 3D printer.

Attributes

Applies to