Поделиться через


RuntimeCompatibilityOptions.PatchLevel1 Property

Definition

Gets or sets an optional patch level to use if the runtime version matches the major.minor version.

If your app isn't in the process of transitioning to a new version of the Windows App SDK, then you may set only this one patch level.

public:
 property WindowsAppRuntimeVersion PatchLevel1 { WindowsAppRuntimeVersion get(); void set(WindowsAppRuntimeVersion value); };
WindowsAppRuntimeVersion PatchLevel1();

void PatchLevel1(WindowsAppRuntimeVersion value);
public WindowsAppRuntimeVersion PatchLevel1 { get; set; }
var windowsAppRuntimeVersion = runtimeCompatibilityOptions.patchLevel1;
runtimeCompatibilityOptions.patchLevel1 = windowsAppRuntimeVersion;
Public Property PatchLevel1 As WindowsAppRuntimeVersion

Property Value

An optional patch level to use if the runtime version matches the major.minor version. If the runtime version doesn't match the specified major.minor version, then this value is ignored.

Remarks

Instead of directly using PatchLevel1, you could specify this patch level in your app's project file, like this:

<PropertyGroup>
  <WindowsAppSDKRuntimePatchLevel1>1.7.3</WindowsAppSDKRuntimePatchLevel1>
</PropertyGroup>

Applies to