Share via


MapElement.Tag Property

Definition

Gets or sets an arbitrary object value that can be used to store custom information about this object.

public:
 property Platform::Object ^ Tag { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Tag();

void Tag(IInspectable value);
public object Tag { get; set; }
var object = mapElement.tag;
mapElement.tag = object;
Public Property Tag As Object

Property Value

Object

Platform::Object

IInspectable

An arbitrary object value that can be used to store custom information about this object.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to