Share via


AppInstallOptions.CampaignId Property

Definition

Gets or sets the promotion campaign ID that is associated with the app to install.

public:
 property Platform::String ^ CampaignId { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring CampaignId();

void CampaignId(winrt::hstring value);
public string CampaignId { get; set; }
var string = appInstallOptions.campaignId;
appInstallOptions.campaignId = string;
Public Property CampaignId As String

Property Value

String

Platform::String

winrt::hstring

The promotion campaign ID that is associated with the app to install.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to

See also