Udostępnij za pośrednictwem


DevicePlatform.Create(String) Metoda

Definicja

Tworzy nowe wystąpienie platformy urządzeń. Może to służyć do definiowania platform niestandardowych.

public:
 static Microsoft::Maui::Devices::DevicePlatform Create(System::String ^ devicePlatform);
public static Microsoft.Maui.Devices.DevicePlatform Create (string devicePlatform);
static member Create : string -> Microsoft.Maui.Devices.DevicePlatform
Public Shared Function Create (devicePlatform As String) As DevicePlatform

Parametry

devicePlatform
String

Identyfikator platformy urządzenia.

Zwraca

Nowe wystąpienie o DevicePlatform określonym identyfikatorze platformy.

Dotyczy