AdControl.AdUnitId | adUnitId property
Gets or sets the ad unit identifier for this AdControl object. This value is available in Windows Dev Center.
Syntax
public: property String^ AdUnitId { String^ get(); void set (String^ value); }
Property value
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]
The ad unit identifier 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 AdUnitId 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.
Requirements
|
Minimum supported client |
Windows 8.1 |
|---|---|
|
Minimum supported server |
None supported |
|
Minimum supported phone |
Windows Phone 8.1 |
|
Namespace |
|
|
Metadata |
|
See also