Share via


MapElement.Tag 屬性

定義

取得或設定任意物件值,可用來儲存這個物件的自訂資訊。

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

屬性值

Object

Platform::Object

IInspectable

任意物件值,可用來儲存這個物件的自訂資訊。

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

適用於