共用方式為


PlatformHelper.ParseApiPlatform(String, String) 方法

定義

將平臺名稱和字串版本號碼剖析為 Platform 列舉值。

public static ObjCRuntime.Platform ParseApiPlatform (string productName, string productVersion);
static member ParseApiPlatform : string * string -> ObjCRuntime.Platform

參數

productName
String

產品名稱。

productVersion
String

產品版本。

傳回

指定 ProductName 的平臺值。

適用於