NativeAdV2.RegisterAdContainer 方法

定义

重载

RegisterAdContainer(FrameworkElement)

在应用中注册充当本机广告元素容器的指定 UI 元素。 使用此方法时,整个容器是广告的可点击元素。 必须注册容器才能正确跟踪广告展示次数和点击量。

RegisterAdContainer(FrameworkElement, IList<FrameworkElement>)

在应用中注册 UI 元素,该元素充当本机广告元素和用户可以单击的任何特定 UI 元素的容器。 必须注册这些组件才能正确跟踪广告印象和点击量。

RegisterAdContainer(FrameworkElement)

在应用中注册充当本机广告元素容器的指定 UI 元素。 使用此方法时,整个容器是广告的可点击元素。 必须注册容器才能正确跟踪广告展示次数和点击量。

public:
 void RegisterAdContainer(FrameworkElement ^ adContainer);
void RegisterAdContainer(FrameworkElement const & adContainer);
[Windows.Foundation.Metadata.Overload("RegisterAdContainer2")]
public void RegisterAdContainer(FrameworkElement adContainer);
function registerAdContainer(adContainer)
Public Sub RegisterAdContainer (adContainer As FrameworkElement)

参数

adContainer
FrameworkElement

应用中充当本机广告容器的 UI 元素。

属性

另请参阅

适用于

RegisterAdContainer(FrameworkElement, IList<FrameworkElement>)

在应用中注册 UI 元素,该元素充当本机广告元素和用户可以单击的任何特定 UI 元素的容器。 必须注册这些组件才能正确跟踪广告印象和点击量。

public:
 void RegisterAdContainer(FrameworkElement ^ adContainer, IVector<FrameworkElement ^> ^ clickableElements);
void RegisterAdContainer(FrameworkElement const & adContainer, IVector<FrameworkElement> const & clickableElements);
[Windows.Foundation.Metadata.Overload("RegisterAdContainer1")]
public void RegisterAdContainer(FrameworkElement adContainer, IList<FrameworkElement> clickableElements);
function registerAdContainer(adContainer, clickableElements)
Public Sub RegisterAdContainer (adContainer As FrameworkElement, clickableElements As IList(Of FrameworkElement))

参数

adContainer
FrameworkElement

应用中充当本机广告容器的 UI 元素。

clickableElements
System.Collections.Generic.IList<FrameworkElement>

用户可以单击的本机广告的 UI 元素。

属性

另请参阅

适用于