UIView.Tag プロパティ

定義

特定 UIView のインスタンスを識別するために使用できる整数。

public virtual nint Tag { [Foundation.Export("tag")] get; [Foundation.Export("setTag:")] set; }
member this.Tag : nint with get, set

プロパティ値

System.System.IntPtr System.nativeint

既定値は 0 です。

属性

注釈

このプロパティの安定性と一意性は、アプリケーション開発者の責任です。

適用対象

こちらもご覧ください

  • <xref:UIKit.UIView.ViewWithTag>