RfcommServiceId.FromShortId(UInt32) 方法

定义

从 32 位服务 ID 创建 RfcommServiceId 对象。

public:
 static RfcommServiceId ^ FromShortId(unsigned int shortId);
 static RfcommServiceId FromShortId(uint32_t const& shortId);
public static RfcommServiceId FromShortId(uint shortId);
function fromShortId(shortId)
Public Shared Function FromShortId (shortId As UInteger) As RfcommServiceId

参数

shortId
UInt32

unsigned int

uint32_t

32 位服务 ID。

返回

RfcommServiceId 对象。

Windows 要求

应用功能
bluetooth

适用于