HasAd | hasAd property

AdControl.HasAd | hasAd property

Gets a value that indicates whether or not the AdControl is currently serving a banner ad.

Syntax


public:
property bool HasAd { 
   bool get();
}

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

Returns true if the AdControl is currently serving a banner ad; otherwise, false.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1

Namespace

Microsoft.Advertising.WinRT.UI
Microsoft::Advertising::WinRT::UI [C++]

Metadata

Microsoft.Advertising.winmd

See also

AdControl

 

 

Show:
© 2017 Microsoft