AdControl.AddAdTag(String, String) Method
Definition
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.
public:
void AddAdTag(Platform::String ^ tagName, Platform::String ^ tagValue);
void AddAdTag(winrt::hstring const& tagName, winrt::hstring const& tagValue);
public void AddAdTag(string tagName, string tagValue);
function addAdTag(tagName, tagValue)
Public Sub AddAdTag (tagName As String, tagValue As String)
Parameters
- tagName
-
String
Platform::String
winrt::hstring
The name of the tag. The maximum is 16 characters.
- tagValue
-
String
Platform::String
winrt::hstring
The value of the tag. The maximum is 128 characters.
Remarks
The maximum number of tags per control is 10. An ErrorOccurred event is raised if the maximum number of tags is exceeded or if the maximum characters for either parameter is exceeded.