Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AdGameComponent Methods

Updated: August 2, 2013

Published: April 2, 2014

The following methods of the AdGameComponent class are unique to the class.

For more information about methods inherited by the AdGameComponent class, see the DrawableGameComponent class.

Methods

Name

Description

CreateAd

Creates a new instance of a DrawableAd object by using the provided parameters (overloaded).

Draw

Draws graphical elements of the ad inside the DisplayRectangle. Inherited from DrawableGameComponent.Draw().

Initialize

Creates an AdGameComponent object that will manage the DrawableAd objects in your game (overloaded).

RemoveAd

Removes a specific instance of a DrawableAd object from the AdGameComponent.

RemoveAll

Removes all instances of DrawableAd objects from the AdGameComponent.

Update

Advances the state of all DrawableAd objects contained by the AdGameComponent. Inherited from GameComponent.Update().

Support and Feedback

Get product support or report a bug in the product by visiting the Windows Phone Dev Center support page (scroll down to the section "Microsoft Advertising support").

Send feedback about this documentation to adsfdbk@microsoft.com. There is no product support through this alias. Documentation feedback only.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.