Compartilhar via


BluetoothUuidHelper.TryGetShortId(Guid) Método

Definição

Tenta obter a ID curta do dispositivo Bluetooth de um 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)

Parâmetros

uuid
Guid

Platform::Guid

winrt::guid

O UUID.

Retornos

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

Retorna a ID curta.

Requisitos do Windows

Funcionalidades do aplicativo
bluetooth

Aplica-se a