ブートストラップ C# API で使用する定数を次に示します。
Definition
名前空間: Microsoft.WindowsAppSDK
アセンブリ: Microsoft.WindowsAppRuntime.Release.Net.dll
Microsoft。WindowsAppSDK.Release クラス
| 定数 |
価値 |
Description |
| public const string Channel |
[リリース依存] |
Windows アプリ SDK リリースのチャネル ("プレビュー" など)、または安定した場合は空の文字列。 |
| public const string FormattedVersionShortTag |
[リリース依存] |
Windows アプリ SDK リリースの短縮形式のバージョン タグ。識別子の構築時に連結できる形式で書式設定されたもので、たとえば "-p2"、安定版の場合は空の文字列です。 |
| public const string FormattedVersionTag |
[リリース依存] |
Windows アプリ SDK リリースのバージョン タグ。識別子を構築するときに連結用に書式設定されます(例: "-preview2"、stable の場合は空の文字列)。 |
| public const ushort Major |
[リリース依存] |
Windows アプリ SDK リリースのメジャー バージョン。 |
| public const uint MajorMinor |
[リリース依存] |
Windows アプリ SDK リリースのメジャー バージョンとマイナー バージョン。uint32_tとしてエンコードされます (0xMMMMNNNN (M=major、N=minor)。 |
| public const ushort Minor |
[リリース依存] |
Windows アプリ SDK リリースのマイナー バージョン。 |
| public const ushort Patch |
[リリース依存] |
Windows アプリ SDK リリースのパッチ バージョン。 |
| public const string VersionShortTag |
[リリース依存] |
Windows アプリ SDK リリースの短縮形式のバージョン タグ。たとえば "p2"。安定版の場合は空の文字列。 |
| public const string VersionTag |
[リリース依存] |
Windows アプリ SDK リリースのバージョン タグ ("preview2" など)、または安定した場合は空の文字列。 |
Microsoft。WindowsAppSDK.Runtime.Identity クラス
| 定数 |
価値 |
Description |
| public const string Publisher |
"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" |
Windows アプリ SDK ランタイムのパッケージ識別子の「Publisher」。 |
| public const string PublisherId |
"8wekyb3d8bbwe" |
Windows アプリ SDK ランタイムのパッケージ ID の PublisherId。 |
Microsoft。WindowsAppSDK.Runtime.Packages.DDLM.Arm64 クラス
| 定数 |
価値 |
Description |
| public const string PackageFamilyName |
[リリース依存] |
Windows アプリ SDK ランタイムの Dynamic Dependency Lifetime Manager (DDLM) パッケージのファミリ名 (arm64 用)。 |
Microsoft。WindowsAppSDK.Runtime.Packages.DDLM.X64 クラス
| 定数 |
価値 |
Description |
| public const string PackageFamilyName |
[リリース依存] |
Windows アプリ SDK ランタイムの Dynamic Dependency Lifetime Manager (DDLM) パッケージのファミリ名 (x64 用)。 |
Microsoft。WindowsAppSDK.Runtime.Packages.DDLM.X86 クラス
| 定数 |
価値 |
Description |
| public const string PackageFamilyName |
[リリース依存] |
Windows アプリ SDK ランタイムの Dynamic Dependency Lifetime Manager (DDLM) パッケージのファミリ名 (x86 用)。 |
Microsoft。WindowsAppSDK.Runtime.Packages.Framework クラス
| 定数 |
価値 |
Description |
| public const string PackageFamilyName |
[リリース依存] |
Windows アプリ SDK ランタイムの Framework パッケージのファミリ名。 |
Microsoft。WindowsAppSDK.Runtime.Packages.Main クラス
| 定数 |
価値 |
Description |
| public const string PackageFamilyName |
[リリース依存] |
Windows アプリ SDK ランタイムのメイン パッケージのファミリ名。 |
Microsoft。WindowsAppSDK.Runtime.Packages.Singleton クラス
| 定数 |
価値 |
Description |
| public const string PackageFamilyName |
[リリース依存] |
Windows アプリ SDK ランタイムのシングルトン パッケージのファミリ名。 |
Microsoft。WindowsAppSDK.Runtime.Version クラス
| 定数 |
価値 |
Description |
| public const ushort Major |
[リリース依存] |
Windows アプリ SDK ランタイムのメジャー バージョン (例: 1000)。 |
| public const ushort Minor |
[リリース依存] |
Windows アプリ SDK ランタイムのマイナー バージョン (例: 446)。 |
| public const ushort Build |
[リリース依存] |
Windows アプリ SDK ランタイムのビルド バージョン (例: 804)。 |
| public const ushort Revision |
[リリース依存] |
Windows アプリ SDK ランタイムのリビジョン バージョン (例: 0)。 |
| public const ulong UInt64 |
[リリース依存] |
Windows アプリ SDK ランタイムのバージョン (uint64l など) 0x03E801BE03240000。 |
| public const string DotQuadString |
[リリース依存] |
文字列 (const wchar_t*) としての Windows アプリ SDK ランタイムのバージョン。たとえば、"1000.446.804.0" です。 |
こちらも参照ください