UIAlertView.AddButton(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將按鈕新增至具有指定標題的警示檢視。
[Foundation.Export("addButtonWithTitle:")]
public virtual nint AddButton(string title);
abstract member AddButton : string -> nint
override this.AddButton : string -> nint
參數
傳回
System.System.IntPtr
System.nativeint
新加入按鈕的索引。
- 屬性
備註
此方法會將按鈕新增至具有指定標題的警示檢視。