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
Members
The NativeImage class has these types of members:
Constructors
The NativeImage class has these constructors.
| Constructor | Description |
|---|---|
| NativeImage | Creates a new instance of the NativeImage class. |
Properties
The NativeImage class has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only | Gets the height of the icon or main image for the native ad. | |
|
Read-only | Gets the source URI of the icon or main image file for the native ad. | |
|
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 |
|
|
Metadata |
|
Attributes
- [MarshalingBehavior(Agile)]
- [Threading(Both)]
- [Version]
- [WebHostHidden()]
See also