共用方式為


RfcommInboundConnectionInformation.LocalServiceId 屬性

定義

取得或設定將在 SDP 記錄中公告的服務 UUID。

public:
 property RfcommServiceId ^ LocalServiceId { RfcommServiceId ^ get(); void set(RfcommServiceId ^ value); };
RfcommServiceId LocalServiceId();

void LocalServiceId(RfcommServiceId value);
public RfcommServiceId LocalServiceId { get; set; }
var rfcommServiceId = rfcommInboundConnectionInformation.localServiceId;
rfcommInboundConnectionInformation.localServiceId = rfcommServiceId;
Public Property LocalServiceId As RfcommServiceId

屬性值

將在 SDP 記錄中公告的服務 UUID。

Windows 需求

應用程式功能
bluetooth

適用於