NativeImage class

NativeImage class

Describes an icon or main image for a native ad (that is, a NativeAd object). The IconImage and MainImages properties return objects of this type. For a walkthrough that demonstrates how to use this class in your app, including code examples, see Native ads.

Syntax


public ref class NativeImage sealed 

Members

The NativeImage class has these types of members:

Constructors

The NativeImage class has these constructors.

ConstructorDescription
NativeImage Creates a new instance of the NativeImage class.

 

Properties

The NativeImage class has these properties.

PropertyAccess typeDescription

Height

Read-only

Gets the height of the icon or main image for the native ad.

Url

Read-only

Gets the source URI of the icon or main image file for the native ad.

Width

Read-only

Gets the width of the icon or main image for the native ad.

 

Requirements

Minimum supported client

Windows 10 [Windows Store apps only]

Minimum supported server

None supported

Minimum supported phone

Windows 10 Mobile

Namespace

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

Metadata

Microsoft.Advertising.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version]
[WebHostHidden()]

See also

Object
Native ads
NativeAd

 

 

Show:
© 2017 Microsoft