Compartilhar via


CustomSensor.FromIdAsync(String) Método

Definição

Obtém de forma assíncrona o sensor de seu identificador.

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)

Parâmetros

sensorId
String

Platform::String

winrt::hstring

O identificador do sensor.

Retornos

Retorna o objeto CustomSensor de seu identificador.

Atributos

Aplica-se a