Table of Contents

Struct WindowsAppRuntimeVersion

Namespace
Microsoft.Windows.ApplicationModel.WindowsAppRuntime
Assembly
Microsoft.WindowsAppSDK.Projection.dll
[WindowsRuntimeType("Microsoft.Windows.ApplicationModel.WindowsAppRuntime", "struct(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion;u4;u4;u4)")]
[WindowsRuntimeHelperType]
[WinRTExposedType(typeof(StructTypeDetails<WindowsAppRuntimeVersion, WindowsAppRuntimeVersion>))]
[ContractVersion(typeof(RuntimeCompatibilityContract), 65536)]
public struct WindowsAppRuntimeVersion : IEquatable<WindowsAppRuntimeVersion>
Implements
Inherited Members

Constructors

WindowsAppRuntimeVersion(uint, uint, uint)

public WindowsAppRuntimeVersion(uint _Major, uint _Minor, uint _Patch)

Parameters

_Major uint
_Minor uint
_Patch uint

Fields

Major

public uint Major

Field Value

uint

Minor

public uint Minor

Field Value

uint

Patch

public uint Patch

Field Value

uint

Methods

Equals(WindowsAppRuntimeVersion)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(WindowsAppRuntimeVersion other)

Parameters

other WindowsAppRuntimeVersion

An object to compare with this object.

Returns

bool

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

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Operators

operator ==(WindowsAppRuntimeVersion, WindowsAppRuntimeVersion)

public static bool operator ==(WindowsAppRuntimeVersion x, WindowsAppRuntimeVersion y)

Parameters

x WindowsAppRuntimeVersion
y WindowsAppRuntimeVersion

Returns

bool

operator !=(WindowsAppRuntimeVersion, WindowsAppRuntimeVersion)

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

Parameters

x WindowsAppRuntimeVersion
y WindowsAppRuntimeVersion

Returns

bool