Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
NativeAdsManagerV2(String, String) Constructor
Definition
- Namespace:
- Microsoft.Advertising.WinRT.UI
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the NativeAdsManagerV2 class. For a walkthrough that demonstrates how to use this constructor, including information about how to obtain the application ID and ad unit ID values, see Native ads.
public:
NativeAdsManagerV2(Platform::String ^ applicationId, Platform::String ^ adUnitId);
/// [Windows.Foundation.Metadata.Overload("CreateInstance1")]
NativeAdsManagerV2(winrt::hstring const& applicationId, winrt::hstring const& adUnitId);
[Windows.Foundation.Metadata.Overload("CreateInstance1")]
public NativeAdsManagerV2(string applicationId, string adUnitId);
function NativeAdsManagerV2(applicationId, adUnitId)
Public Sub New (applicationId As String, adUnitId As String)
Parameters
- applicationId
-
String
Platform::String
winrt::hstring
The application ID for the Native ad unit that you want to associate with the native ad.
- adUnitId
-
String
Platform::String
winrt::hstring
The ad unit ID for the Native ad unit that you want to associate with the native ad.
- Attributes
