IMutableJsonDocument.StoreValue Method
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Overloads
| Method | Description |
|---|---|
| StoreValue(Guid) | Stores a Guid value in the document. |
| StoreValue(DateTime) | Stores a DateTime value in the document. |
| StoreValue(DateTimeOffset) | Stores a DateTimeOffset value in the document. |
| StoreValue(OffsetDateTime) | Stores an OffsetDateTime value in the document. |
| StoreValue(OffsetDate) | Stores an OffsetDate value in the document. |
| StoreValue(OffsetTime) | Stores an OffsetTime value in the document. |
| StoreValue(LocalDate) | Stores a LocalDate value in the document. |
| StoreValue(Period) | Stores a Period value in the document. |
| StoreValue(sbyte) | Stores an SByte value in the document. |
| StoreValue(byte) | Stores a Byte value in the document. |
| StoreValue(int) | Stores an Int32 value in the document. |
| StoreValue(uint) | Stores a UInt32 value in the document. |
| StoreValue(long) | Stores a Int64 value in the document. |
| StoreValue(ulong) | Stores a UInt64 value in the document. |
| StoreValue(short) | Stores a Int16 value in the document. |
| StoreValue(ushort) | Stores a UInt16 value in the document. |
| StoreValue(float) | Stores a Single value in the document. |
| StoreValue(double) | Stores a Double value in the document. |
| StoreValue(decimal) | Stores a Decimal value in the document. |
| StoreValue(BigInteger) | Stores a BigInteger value in the document. |
| StoreValue(BigNumber) | Stores a BigNumber value in the document. |
| StoreValue(Int128) | Stores an Int128 value in the document. |
| StoreValue(UInt128) | Stores a UInt128 value in the document. |
| StoreValue(Half) | Stores a Half value in the document. |
StoreValue(Guid)
Source: IMutableJsonDocument.cs
Stores a Guid value in the document.
public abstract int StoreValue(Guid value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
Guid |
The Guid value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(DateTime)
Source: IMutableJsonDocument.cs
Stores a DateTime value in the document.
public abstract int StoreValue(in DateTime value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
DateTime |
The DateTime value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(DateTimeOffset)
Source: IMutableJsonDocument.cs
Stores a DateTimeOffset value in the document.
public abstract int StoreValue(in DateTimeOffset value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
DateTimeOffset |
The DateTimeOffset value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(OffsetDateTime)
Source: IMutableJsonDocument.cs
Stores an OffsetDateTime value in the document.
public abstract int StoreValue(in OffsetDateTime value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
OffsetDateTime |
The OffsetDateTime value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(OffsetDate)
Source: IMutableJsonDocument.cs
Stores an OffsetDate value in the document.
public abstract int StoreValue(in OffsetDate value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
OffsetDate |
The OffsetDate value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(OffsetTime)
Source: IMutableJsonDocument.cs
Stores an OffsetTime value in the document.
public abstract int StoreValue(in OffsetTime value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
OffsetTime |
The OffsetTime value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(LocalDate)
Source: IMutableJsonDocument.cs
Stores a LocalDate value in the document.
public abstract int StoreValue(in LocalDate value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
LocalDate |
The LocalDate value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(Period)
Source: IMutableJsonDocument.cs
Stores a Period value in the document.
public abstract int StoreValue(in Period value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
Period |
The Period value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(sbyte)
Source: IMutableJsonDocument.cs
Stores an SByte value in the document.
public abstract int StoreValue(sbyte value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
sbyte |
The SByte value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(byte)
Source: IMutableJsonDocument.cs
Stores a Byte value in the document.
public abstract int StoreValue(byte value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
byte |
The Byte value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(int)
Source: IMutableJsonDocument.cs
Stores an Int32 value in the document.
public abstract int StoreValue(int value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
int |
The Int32 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(uint)
Source: IMutableJsonDocument.cs
Stores a UInt32 value in the document.
public abstract int StoreValue(uint value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
uint |
The UInt32 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(long)
Source: IMutableJsonDocument.cs
Stores a Int64 value in the document.
public abstract int StoreValue(long value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
long |
The Int64 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(ulong)
Source: IMutableJsonDocument.cs
Stores a UInt64 value in the document.
public abstract int StoreValue(ulong value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
ulong |
The UInt64 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(short)
Source: IMutableJsonDocument.cs
Stores a Int16 value in the document.
public abstract int StoreValue(short value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
short |
The Int16 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(ushort)
Source: IMutableJsonDocument.cs
Stores a UInt16 value in the document.
public abstract int StoreValue(ushort value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
ushort |
The UInt16 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(float)
Source: IMutableJsonDocument.cs
Stores a Single value in the document.
public abstract int StoreValue(float value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
float |
The Single value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(double)
Source: IMutableJsonDocument.cs
Stores a Double value in the document.
public abstract int StoreValue(double value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
double |
The Double value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(decimal)
Source: IMutableJsonDocument.cs
Stores a Decimal value in the document.
public abstract int StoreValue(decimal value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
decimal |
The Decimal value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(BigInteger)
Source: IMutableJsonDocument.cs
Stores a BigInteger value in the document.
public abstract int StoreValue(in BigInteger value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigInteger |
The BigInteger value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(BigNumber)
Source: IMutableJsonDocument.cs
Stores a BigNumber value in the document.
public abstract int StoreValue(in BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
The BigNumber value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
StoreValue(Int128)
Source: IMutableJsonDocument.cs
Stores an Int128 value in the document.
public abstract int StoreValue(Int128 value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
Int128 |
The Int128 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
StoreValue(UInt128)
Source: IMutableJsonDocument.cs
Stores a UInt128 value in the document.
public abstract int StoreValue(UInt128 value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
UInt128 |
The UInt128 value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
StoreValue(Half)
Source: IMutableJsonDocument.cs
Stores a Half value in the document.
public abstract int StoreValue(Half value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
Half |
The Half value to store. |
Returns
The index of the stored value.
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue