Freigeben über


UIInterfaceOrientationExtensions.IsPortrait(UIInterfaceOrientation) Methode

Definition

Bestimmt, ob die Ausrichtung eine der Hochformatausrichtungen ist.

public static bool IsPortrait (this UIKit.UIInterfaceOrientation orientation);
static member IsPortrait : UIKit.UIInterfaceOrientation -> bool

Parameter

orientation
UIInterfaceOrientation

Der Wert, der ausgeführt werden soll.

Gibt zurück

True, wenn dies eine Hochformatausrichtung ist.

Gilt für: