Show / Hide Table of Contents

Struct NtInst

Low Level NT Core Instance Handle

Inherited Members
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: NetworkTables.Natives
Assembly: FRC.NetworkTables.dll
Syntax
public struct NtInst

Constructors

| Improve this Doc View Source

NtInst(Int32)

Creates a new handle

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

handle value

Methods

| Improve this Doc View Source

Equals(NtInst)

Checks equality between another Handle

Declaration
public bool Equals(NtInst other)
Parameters
Type Name Description
NtInst 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(NtInst, NtInst)

Gets if 2 handles are equal

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

Left Hand Side

NtInst rhs

Right Hand Side

Returns
Type Description
Boolean

true if equal

| Improve this Doc View Source

Implicit(NtInst to NtHandle)

Converts a handle to a base handle

Declaration
public static implicit operator NtHandle(NtInst value)
Parameters
Type Name Description
NtInst value

The current handle

Returns
Type Description
NtHandle
| Improve this Doc View Source

Inequality(NtInst, NtInst)

Gets if 2 handles are not equal

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

Left Hand Side

NtInst rhs

Right Hand Side

Returns
Type Description
Boolean

true if not equal

  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet