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
返回
- 属性