UIKit.UIViewController.PerformSegue Method
Performs the specified UIKit.UIStoryboardSegue.

Syntax

[Foundation.Export("performSegueWithIdentifier:sender:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void PerformSegue (string identifier, Foundation.NSObject sender)

Parameters

identifier
The identifier of the desired UIKit.UIStoryboardSegue.
sender

The object initiating the segue.

This parameter can be null.

Remarks

Typically, segues are specified in the storyboard and do not require the application to directly invoke them.

This method will throw an exception if the UIKit.UIViewController on which it is called was not loaded from a storyboard.

Related content

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0