Table of Contents

Class RuntimeCompatibilityOptions

Namespace
Microsoft.Windows.ApplicationModel.WindowsAppRuntime
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

IList<RuntimeCompatibilityChange>

PatchLevel1

public WindowsAppRuntimeVersion PatchLevel1 { get; set; }

Property Value

WindowsAppRuntimeVersion

PatchLevel2

public WindowsAppRuntimeVersion PatchLevel2 { get; set; }

Property Value

WindowsAppRuntimeVersion

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 RuntimeCompatibilityOptions

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

FromAbi(nint)

public static RuntimeCompatibilityOptions FromAbi(nint thisPtr)

Parameters

thisPtr nint

Returns

RuntimeCompatibilityOptions

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

x RuntimeCompatibilityOptions
y RuntimeCompatibilityOptions

Returns

bool

operator !=(RuntimeCompatibilityOptions, RuntimeCompatibilityOptions)

public static bool operator !=(RuntimeCompatibilityOptions x, RuntimeCompatibilityOptions y)

Parameters

x RuntimeCompatibilityOptions
y RuntimeCompatibilityOptions

Returns

bool