AdControl.ApplicationId AdControl.ApplicationId AdControl.ApplicationId AdControl.ApplicationId Property

Definition

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

public : Platform::String ApplicationId { get; set; }
winrt::hstring ApplicationId();

void ApplicationId(winrt::hstring applicationid);
public string ApplicationId { get; set; }
Public ReadWrite Property ApplicationId As string

Property Value

string string

The application ID for this AdControl object.

Remarks

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.

See Also