Print3DDevice.FromIdAsync(String) 方法

定义

创建一个 Print3DDevice 对象,该对象表示连接到设备的 3D 打印机。

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)

参数

deviceId
String

Platform::String

winrt::hstring

3D 打印机的设备 ID。

返回

对应于指定的 3D 打印机的 Print3DDevice 对象。

属性

适用于