C# Class Grib.Api.Interop.SizeT

SizeT is a variable-size, platform-dependent unsigned integer. It can store the maximum size of a theoretically possible object of any type (including array). Implicitly convertable to UInt.

 

Example:

  SizeT size = 1;

  int[] myArray = new int[size];

  size = (SizeT) getSomeInt();

  Int64 big = (Int64) size;

Mostra file Open project: 0x1mason/GribApi.NET

Public Properties

Property Type Description
Value System.UIntPtr

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

operator ( ) : bool

Implements the operator ==.

Private Methods

Method Description
SizeT ( UIntPtr val ) : System

Initializes a new instance of the SizeT struct.

SizeT ( int val ) : System

Initializes a new instance of the SizeT struct.

SizeT ( uint val ) : System

Initializes a new instance of the SizeT struct.

Method Details

Equals() public method

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

operator() public static method

Implements the operator ==.
public static operator ( ) : bool
return bool

Property Details

Value public_oe property

The value.
public UIntPtr,System Value
return System.UIntPtr