共用方式為


OrientationSensor.Default 屬性

定義

提供此 API 靜態使用的預設實作。

public:
 static property Microsoft::Maui::Devices::Sensors::IOrientationSensor ^ Default { Microsoft::Maui::Devices::Sensors::IOrientationSensor ^ get(); };
public static Microsoft.Maui.Devices.Sensors.IOrientationSensor Default { get; }
static member Default : Microsoft.Maui.Devices.Sensors.IOrientationSensor
Public Shared ReadOnly Property Default As IOrientationSensor

屬性值

適用於