Struct NativePoint
- Namespace
- Microsoft.WindowsAPICodePack.Shell
- Assembly
- Microsoft.WindowsAPICodePack.Shell.dll
A wrapper for the native POINT structure.
public struct NativePoint
- Inherited Members
Constructors
NativePoint(int, int)
Initialize the NativePoint
public NativePoint(int x, int y)
Parameters
Properties
X
The X coordinate of the point
public int X { readonly get; set; }
Property Value
Y
The Y coordinate of the point
public int Y { readonly get; set; }
Property Value
Methods
Equals(object)
Determines if this NativePoint is equal to another.
public override bool Equals(object obj)
Parameters
obj
objectAnother NativePoint to compare
Returns
- bool
True if this NativePoint is equal obj; false otherwise.
GetHashCode()
Gets a hash code for the NativePoint.
public override int GetHashCode()
Returns
- int
Hash code for the NativePoint
Operators
operator ==(NativePoint, NativePoint)
Determines if two NativePoints are equal.
public static bool operator ==(NativePoint first, NativePoint second)
Parameters
first
NativePointFirst NativePoint
second
NativePointSecond NativePoint
Returns
- bool
True if first NativePoint is equal to the second; false otherwise.
operator !=(NativePoint, NativePoint)
Determines if two NativePoints are not equal.
public static bool operator !=(NativePoint first, NativePoint second)
Parameters
first
NativePointFirst NativePoint
second
NativePointSecond NativePoint
Returns
- bool
True if first NativePoint is not equal to the second; false otherwise.