Delen via


BluetoothUuidHelper.TryGetShortId(Guid) Method

Definition

Attempts to get the short bluetooth device ID from a UUID.

public:
 static IReference<unsigned int> ^ TryGetShortId(Platform::Guid uuid);
 static IReference<uint32_t> TryGetShortId(winrt::guid const& uuid);
public static System.Nullable<uint> TryGetShortId(Guid uuid);
function tryGetShortId(uuid)
Public Shared Function TryGetShortId (uuid As Guid) As Nullable(Of UInteger)

Parameters

uuid
Guid

Platform::Guid

winrt::guid

The UUID.

Returns

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

Returns the short ID.

Windows requirements

App capabilities
bluetooth

Applies to