Resolution Structure

Represents a display resolution.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public struct Resolution : ISpanParsable<Resolution>, 
	IParsable<Resolution>
Inheritance
Object    ValueType    Resolution
Implements
IParsableResolution, ISpanParsableResolution

Constructors

Resolution Initializes a new instance of the Resolution structure.

Properties

Height Gets or sets the vertical display resolution.
Width Gets or sets the horizontal display resolution.

Methods

EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Parse(ReadOnlySpanChar, IFormatProvider) Parses a span of characters into a Resolution structure.
Parse(String, IFormatProvider) Parses a string into a Resolution structure.
ToString Returns a string representation of this instance.
(Overrides ValueTypeToString)
TryParse(ReadOnlySpanChar, IFormatProvider, Resolution) Parses a span of characters into a Resolution structure.
TryParse(String, IFormatProvider, Resolution) Parses a string into a Resolution structure.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also