Condividi tramite


CustomSensor.FromIdAsync(String) Metodo

Definizione

Ottiene in modo asincrono il sensore dal relativo identificatore.

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

Parametri

sensorId
String

Platform::String

winrt::hstring

Identificatore del sensore.

Restituisce

Restituisce l'oggetto CustomSensor dal relativo identificatore.

Attributi

Si applica a