UIView.Tag プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
特定 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>