共用方式為


BluetoothUuidHelper.TryGetShortId(Guid) 方法

定義

嘗試從 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)

參數

uuid
Guid

Platform::Guid

winrt::guid

UUID。

傳回

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

傳回簡短識別碼。

Windows 需求

應用程式功能
bluetooth

適用於