SetOrientation Method
Sets the device orientation.
C# Syntax
void SetOrientation( 
   DeviceOrientation orientation
)

Parameters

orientation
The DeviceOrientation to set on the device.