共用方式為


DeviceInformationCustomPairing.AddPairingSetMember(DeviceInformation) Method

Definition

Add a member of a pairing set (for Bluetooth LE and IPP style printers). For more info, and code examples, see Pairing a set with the DeviceInformationPairing.Custom property.

public:
 virtual void AddPairingSetMember(DeviceInformation ^ device) = AddPairingSetMember;
void AddPairingSetMember(DeviceInformation const& device);
public void AddPairingSetMember(DeviceInformation device);
function addPairingSetMember(device)
Public Sub AddPairingSetMember (device As DeviceInformation)

Parameters

device
DeviceInformation

An object representing the device to add to the set.

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Applies to

See also