DeviceIdiom 構造体

定義

デバイスのイディオム (フォーム ファクター) を表します。

public value class DeviceIdiom : IEquatable<Microsoft::Maui::Devices::DeviceIdiom>
public readonly struct DeviceIdiom : IEquatable<Microsoft.Maui.Devices.DeviceIdiom>
type DeviceIdiom = struct
Public Structure DeviceIdiom
Implements IEquatable(Of DeviceIdiom)
継承
DeviceIdiom
実装

プロパティ

Desktop

デスクトップ コンピューターの慣用句を表す の DeviceIdiom インスタンスを取得します。

Phone

(携帯電話) のイディオムを表す の DeviceIdiom インスタンスを取得します。

Tablet

タブレットのイディオムを表す の DeviceIdiom インスタンスを取得します。

TV

テレビ (テレビ) のイディオムを表す の DeviceIdiom インスタンスを取得します。

Unknown

不明な表現形式を表す の DeviceIdiom インスタンスを取得します。 これは、現在のデバイスのイディオムが不明な場合に使用されます。

Watch

watchイディオムを表す のDeviceIdiomインスタンスを取得します。

メソッド

Create(String)

新しいデバイス イディオム インスタンスを作成します。 これを使用して、カスタム イディオムを定義できます。

Equals(DeviceIdiom)

基になる DeviceIdiom インスタンスを比較します。

Equals(Object)

イディオムの等価性を確認します。

GetHashCode()

このイディオム インスタンスのハッシュ コードを取得します。

ToString()

現在のデバイスのイディオムの文字列表現を返します。

演算子

Equality(DeviceIdiom, DeviceIdiom)

等号の等値演算子。

Inequality(DeviceIdiom, DeviceIdiom)

非等値演算子。

適用対象