UIView.Tag Proprietà

Definizione

Intero che può essere utilizzato per identificare un'istanza specifica UIView .

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

Valore della proprietà

System.System.IntPtr System.nativeint

Il valore predefinito è 0.

Attributi

Commenti

La stabilità e l'univocità di questa proprietà sono interamente responsabilità dello sviluppatore dell'applicazione.

Si applica a

Vedi anche

  • <xref:UIKit.UIView.ViewWithTag>