次の方法で共有


BluetoothUuidHelper.TryGetShortId(Guid) メソッド

定義

UUID から短い bluetooth デバイス ID を取得しようとします。

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)

パラメーター

uuid
Guid

Platform::Guid

winrt::guid

UUID。

戻り値

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

短い ID を返します。

Windows の要件

アプリの機能
bluetooth

適用対象