# Value class

Namespace: [GrasshopperIO.DataBase](https://developer.rhino3d.com/api/gh2/namespace/grasshopperio.database.md) · Assembly: [GrasshopperIO](https://developer.rhino3d.com/api/gh2/assembly/grasshopperio.md)

```cs
public sealed class Value : IEquatable<Value>
```

Represents a single immutable value in an archive.

## Constructors

- [Value](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/ctor.md): (15 overloads)

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/count.md): Gets the number of items stored in this entry. If the entry does not represent an array, this property always returns one. If the entry does represent an array, the length of the array is returned.
- [GetBigInteger](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getbiginteger.md): Get the big integer inside this entry.
- [GetBigIntegerArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getbigintegerarray.md): Get the BigInteger array inside this entry.
- [GetBoolean](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getboolean.md): Get the boolean inside this entry.
- [GetBooleanArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getbooleanarray.md): Get the boolean array inside this entry.
- [GetByte](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getbyte.md): Get the byte inside this entry.
- [GetByteArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getbytearray.md): Get the byte array inside this entry.
- [GetComplex](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getcomplex.md): Get the complex number inside this entry.
- [GetComplexArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getcomplexarray.md): Get the complex number array inside this entry.
- [GetDateTime](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getdatetime.md): Get the date inside this entry.
- [GetDateTimeArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getdatetimearray.md): Get the date array inside this entry.
- [GetDecimal](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getdecimal.md): Get the decimal inside this entry.
- [GetDecimalArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getdecimalarray.md): Get the decimal array inside this entry.
- [GetFilePath](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getfilepath.md): Get the file path inside this entry.
- [GetFloat32](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getfloat32.md): Get the float inside this entry.
- [GetFloat32Array](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getfloat32array.md): Get the float array inside this entry.
- [GetFloat64](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getfloat64.md): Get the double inside this entry.
- [GetFloat64Array](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getfloat64array.md): Get the double array inside this entry.
- [GetGuid](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getguid.md): Get the Guid inside this entry.
- [GetGuidArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getguidarray.md): Get the Guid array inside this entry.
- [GetInteger32](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getinteger32.md): Get the int inside this entry.
- [GetInteger32Array](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getinteger32array.md): Get the int array inside this entry.
- [GetInteger64](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getinteger64.md): Get the long inside this entry.
- [GetInteger64Array](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getinteger64array.md): Get the long array inside this entry.
- [GetString](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getstring.md): Get the string inside this entry.
- [GetStringArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getstringarray.md): Get the string array inside this entry.
- [GetTimeSpan](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/gettimespan.md): Get the date inside this entry.
- [GetUInteger32](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getuinteger32.md): Get the uint inside this entry.
- [GetUInteger32Array](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getuinteger32array.md): Get the uint array inside this entry.
- [GetUInteger64](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getuinteger64.md): Get the ulong inside this entry.
- [GetUInteger64Array](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getuinteger64array.md): Get the ulong array inside this entry.
- [GetVersion](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getversion.md): Get the version inside this entry.
- [GetVersionArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/getversionarray.md): Get the version array inside this entry.
- [IsArray](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/isarray.md): Gets whether this entry stores an array of values.
- [RawData](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/rawdata.md): Gets the raw data stored in this entry. There are also type-safe accessors available which you should consider using. Internal data is supposed to be immutable, so when you use this accessor to modify the state of the raw data you may cause all sorts of problems.
- [SizeEstimate](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/sizeestimate.md): Gets an estimate of the number of bytes this value takes up when written to file. Note that this will differ from the size taken up in memory at runtime. Also note that the values will sometimes be estimations rather than the actual value, as determining the actual size would require a lot of resources.
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/type.md): Gets the type for this entry.

## Methods

- [AreIndentical](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/areindentical.md): (static) Test two entries for equality. This comparison (unlike Equals and CompareTo) test both the location and value of the entry.
- [DeserializeObject<T>](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/deserializeobject.md): Deserialize an object from the internal data.
- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/equals.md): (2 overloads)
- [FromObject](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/fromobject.md): (static) Stores a generic object. The object must either provide its own deserialization via the Serializable attribute or the ISerializable interface, or it must be supported as one of the standard types via the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter class. The object will be stored as a byte-array.
- [GetHashCode](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/gethashcode.md)
- [Read](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/read.md): (static) Read an entry from a binary reader.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/tostring.md): Gets a string representation of this item. This conversion can be lossy.
- [Write](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/write.md): (static) Write an entry to an archive.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.value/op-implicit.md): (34 overloads, static)
