WKInterfaceController.GetContextForSegue 方法

定义

重载

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
rowIndex
System.System.IntPtr System.nativeint

返回

属性

适用于