Share via

AdControl.ApplicationId Property


Gets or sets the application ID for this AdControl object. This value is available in Partner Center.

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

void ApplicationId(winrt::hstring value);
public string ApplicationId { get; set; }
var string = adControl.applicationId;
adControl.applicationId = string;
Public Property ApplicationId As String

Property Value


The application ID for this AdControl object.


This property can be set only when the AdControl is first initialized. After it is set, this property cannot be modified. If you assign a new value to the ApplicationId property, the assignment will work and the property value will change without throwing an exception. However, after the next ad refresh the ErrorOccurred event will fire indicating that the value cannot be changed.

Applies to

See also