Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AdGameComponent Methods (XNA)

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.

Community Additions

ADD
Show:
© 2015 Microsoft