WKInterfaceController.GetContextForSegue 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetContextForSegue(String) |
傳回使用者點選資料表中資料列時要傳遞的內容物件。 |
GetContextForSegue(String, WKInterfaceTable, nint) |
傳回使用者點選資料表中資料列時要傳遞的內容物件。 |
GetContextForSegue(String)
傳回使用者點選資料表中資料列時要傳遞的內容物件。
[Foundation.Export("contextForSegueWithIdentifier:")]
public virtual Foundation.NSObject GetContextForSegue(string segueIdentifier);
abstract member GetContextForSegue : string -> Foundation.NSObject
override this.GetContextForSegue : string -> Foundation.NSObject
參數
- segueIdentifier
- String
傳回
- 屬性
適用於
GetContextForSegue(String, WKInterfaceTable, nint)
傳回使用者點選資料表中資料列時要傳遞的內容物件。
[Foundation.Export("contextForSegueWithIdentifier:inTable:rowIndex:")]
public virtual Foundation.NSObject GetContextForSegue(string segueIdentifier, WatchKit.WKInterfaceTable table, nint rowIndex);
abstract member GetContextForSegue : string * WatchKit.WKInterfaceTable * nint -> Foundation.NSObject
override this.GetContextForSegue : string * WatchKit.WKInterfaceTable * nint -> Foundation.NSObject
參數
- segueIdentifier
- String
- table
- WKInterfaceTable
- rowIndex
- System.System.IntPtr System.nativeint
傳回
- 屬性