Share via


RfcommServiceId.AsShortId Method

Definition

Converts the RfcommServiceId to a 32-bit service id if possible.

public:
 virtual unsigned int AsShortId() = AsShortId;
uint32_t AsShortId();
public uint AsShortId();
function asShortId()
Public Function AsShortId () As UInteger

Returns

UInt32

unsigned int

uint32_t

Returns the 32-bit service id if the RfcommServiceId represents a standardized service.

Windows requirements

App capabilities
bluetooth

Applies to