Show / Hide Table of Contents

Struct NtHandle

Low level NT Core Handle

Implements
IEquatable<NtHandle>
Inherited Members
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: NetworkTables.Natives
Assembly: FRC.NetworkTables.dll
Syntax
public struct NtHandle : IEquatable<NtHandle>

Constructors

| Improve this Doc View Source

NtHandle(Int32)

Create a handle from an int.

Declaration
public NtHandle(int value)
Parameters
Type Name Description
Int32 value

handle value

Methods

| Improve this Doc View Source

Equals(NtHandle)

Checks equality between another Handle

Declaration
public bool Equals(NtHandle other)
Parameters
Type Name Description
NtHandle other

Handle to check

Returns
Type Description
Boolean

True if equal

| Improve this Doc View Source

Equals(Object)

Checks equality between another object

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj

Object to check

Returns
Type Description
Boolean

True if equal

Overrides
ValueType.Equals(Object)
| Improve this Doc View Source

Get()

Gets the raw handle value

Declaration
public int Get()
Returns
Type Description
Int32

The raw handle value

| Improve this Doc View Source

GetHashCode()

Gets Hash Code of Handle

Declaration
public override int GetHashCode()
Returns
Type Description
Int32

Handle Value as Hash Code

Overrides
ValueType.GetHashCode()

Operators

| Improve this Doc View Source

Equality(NtHandle, NtHandle)

Gets if 2 handles are equal

Declaration
public static bool operator ==(NtHandle lhs, NtHandle rhs)
Parameters
Type Name Description
NtHandle lhs

Left Hand Side

NtHandle rhs

Right Hand Side

Returns
Type Description
Boolean

true if equal

| Improve this Doc View Source

Inequality(NtHandle, NtHandle)

Gets if 2 handles are not equal

Declaration
public static bool operator !=(NtHandle lhs, NtHandle rhs)
Parameters
Type Name Description
NtHandle lhs

Left Hand Side

NtHandle rhs

Right Hand Side

Returns
Type Description
Boolean

true if not equal

Implements

IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • NtHandle(Int32)
  • Methods
    • Equals(NtHandle)
    • Equals(Object)
    • Get()
    • GetHashCode()
  • Operators
    • Equality(NtHandle, NtHandle)
    • Inequality(NtHandle, NtHandle)
  • Implements
Back to top Copyright © 2017 RobotDotNet