CustomSensor.FromIdAsync(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.
Asynchronously obtains the sensor from its identifier.
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)
Parameters
- sensorId
-
String
Platform::String
winrt::hstring
The sensor identifier.
Returns
Returns the CustomSensor object from its identifier.
- Attributes