Langue

RuntimeCompatibilityOptions.PatchLevel1 Propriété

Définition

Obtient ou définit un niveau de correctif facultatif à utiliser si la version du runtime correspond à la version major.minor.

Si votre application n'est pas en cours de transition vers une nouvelle version du SDK d'application Windows, vous ne pouvez définir qu'un seul niveau de correctif.

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

Valeur de propriété

Niveau de correctif facultatif à utiliser si la version du runtime correspond à la version major.minor. Si la version du runtime ne correspond pas à la version major.minor spécifiée, cette valeur est ignorée.

Remarques

Au lieu d’utiliser directement PatchLevel1, vous pouvez spécifier ce niveau de correctif dans le fichier projet de votre application, comme suit :

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

S’applique à