Class RuntimeCompatibilityOptions
- Assembly
- Microsoft.WindowsAppSDK.Projection.dll
[WindowsRuntimeType("Microsoft.Windows.ApplicationModel.WindowsAppRuntime")]
[WindowsRuntimeHelperType(typeof(RuntimeCompatibilityOptions))]
[ProjectedRuntimeClass(typeof(IRuntimeCompatibilityOptions))]
[ContractVersion(typeof(RuntimeCompatibilityContract), 65536)]
public sealed class RuntimeCompatibilityOptions : IWinRTObject, IDynamicInterfaceCastable, IUnmanagedVirtualMethodTableProvider, IEquatable<RuntimeCompatibilityOptions>
- Inheritance
-
RuntimeCompatibilityOptions
- Implements
-
IWinRTObject
- Inherited Members
Constructors
RuntimeCompatibilityOptions()
public RuntimeCompatibilityOptions()
Properties
DisabledChanges
public IList<RuntimeCompatibilityChange> DisabledChanges { get; }
Property Value
PatchLevel1
public WindowsAppRuntimeVersion PatchLevel1 { get; set; }
Property Value
PatchLevel2
public WindowsAppRuntimeVersion PatchLevel2 { get; set; }
Property Value
Methods
Apply()
public void Apply()
Equals(RuntimeCompatibilityOptions)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RuntimeCompatibilityOptions other)
Parameters
other
RuntimeCompatibilityOptionsAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
FromAbi(nint)
public static RuntimeCompatibilityOptions FromAbi(nint thisPtr)
Parameters
thisPtr
nint
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(RuntimeCompatibilityOptions, RuntimeCompatibilityOptions)
public static bool operator ==(RuntimeCompatibilityOptions x, RuntimeCompatibilityOptions y)
Parameters
Returns
operator !=(RuntimeCompatibilityOptions, RuntimeCompatibilityOptions)
public static bool operator !=(RuntimeCompatibilityOptions x, RuntimeCompatibilityOptions y)