DevicePlatform 구조체

정의

애플리케이션이 실행 중인 디바이스 플랫폼을 나타냅니다.

public value class DevicePlatform : IEquatable<Microsoft::Maui::Devices::DevicePlatform>
public readonly struct DevicePlatform : IEquatable<Microsoft.Maui.Devices.DevicePlatform>
type DevicePlatform = struct
Public Structure DevicePlatform
Implements IEquatable(Of DevicePlatform)
상속
DevicePlatform
구현

속성

Android

Android를 나타내는 의 DevicePlatform instance 가져옵니다.

iOS

iOS를 나타내는 의 DevicePlatform instance 가져옵니다.

MacCatalyst

Mac Catalyst를 나타내는 의 DevicePlatform instance 가져옵니다.

macOS

macOS를 나타내는 의 DevicePlatform instance 가져옵니다.

Tizen

Samsung Tizen을 나타내는 의 DevicePlatform instance 가져옵니다.

tvOS

Apple tvOS를 나타내는 의 DevicePlatform instance 가져옵니다.

Unknown

알 수 없는 플랫폼을 나타내는 의 DevicePlatform instance 가져옵니다. 현재 플랫폼을 알 수 없는 경우에 사용됩니다.

UWP
사용되지 않음.

UWP를 나타내는 의 DevicePlatform instance 가져옵니다.

watchOS

Apple watchOS를 나타내는 의 DevicePlatform instance 가져옵니다.

WinUI

WinUI를 나타내는 의 DevicePlatform instance 가져옵니다.

메서드

Create(String)

새 디바이스 플랫폼 instance 만듭니다. 사용자 지정 플랫폼을 정의하는 데 사용할 수 있습니다.

Equals(DevicePlatform)

기본 인스턴스를 DevicePlatform 비교합니다.

Equals(Object)

플랫폼의 같음을 확인합니다.

GetHashCode()

이 플랫폼 instance 대한 해시 코드를 가져옵니다.

ToString()

디바이스 플랫폼의 현재 값에 대한 문자열 표현을 반환합니다.

연산자

Equality(DevicePlatform, DevicePlatform)

같음 연산자입니다.

Inequality(DevicePlatform, DevicePlatform)

같지 않음 연산자입니다.

적용 대상