Dela via


ConnectionProfileFilter.PurposeGuid Property

Definition

Gets or sets the purpose group GUID that a connection profile must match in order to be included in query results.

public:
 property IReference<Platform::Guid> ^ PurposeGuid { IReference<Platform::Guid> ^ get(); void set(IReference<Platform::Guid> ^ value); };
IReference<winrt::guid> PurposeGuid();

void PurposeGuid(IReference<winrt::guid> value);
public System.Nullable<Guid> PurposeGuid { get; set; }
var iReference = connectionProfileFilter.purposeGuid;
connectionProfileFilter.purposeGuid = iReference;
Public Property PurposeGuid As Nullable(Of Guid)

Property Value

IReference<Guid>

Nullable<Guid>

IReference<Platform::Guid>

IReference<winrt::guid>

The purpose group GUID that a connection profile must match.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

A purpose group GUID is a public, industry-wide published GUID value describing a service. For example, IMS has a predefined GUID that you can provision with your mobile network operator SIM when the SIM is inserted into a device, which describes the profile that should be used when you query for the IMS profile.

Applies to

See also