JsonValue.Create Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Název | Description |
|---|---|
| Create(Boolean, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Int64>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<SByte>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Single>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<JsonElement>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<UInt16>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<UInt32>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Int32>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<UInt64>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Single, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(String, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(JsonElement, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(UInt16, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(UInt32, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(UInt64, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(SByte, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Int16>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Guid>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Int16, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(DateTime, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(DateTimeOffset, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Decimal, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Double, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Guid, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Double>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Char, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Int32, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Boolean>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Byte>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Char>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<DateTime>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<DateTimeOffset>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Nullable<Decimal>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Int64, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create(Byte, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create<T>(T, JsonTypeInfo<T>, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
| Create<T>(T, Nullable<JsonNodeOptions>) |
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu. |
Create(Boolean, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(bool value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : bool * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Boolean, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<Int64>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(long? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<int64> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Long), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<SByte>, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create(sbyte? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<sbyte> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of SByte), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(Nullable<Single>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(float? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<single> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Single), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<JsonElement>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(System.Text.Json.JsonElement? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<System.Text.Json.JsonElement> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of JsonElement), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- value
- Nullable<JsonElement>
Základní hodnota nové JsonValue instance.
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<UInt16>, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create(ushort? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<uint16> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of UShort), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(Nullable<UInt32>, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create(uint? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<uint32> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of UInteger), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(Nullable<Int32>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(int? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<int> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Integer), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<UInt64>, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create(ulong? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<uint64> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of ULong), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(Single, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(float value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : single * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Single, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(String, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(string? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : string * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As String, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(JsonElement, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(System.Text.Json.JsonElement value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : System.Text.Json.JsonElement * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As JsonElement, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- value
- JsonElement
Základní hodnota nové JsonValue instance.
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(UInt16, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create(ushort value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : uint16 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As UShort, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(UInt32, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create(uint value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : uint32 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As UInteger, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(UInt64, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create(ulong value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : uint64 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As ULong, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(SByte, Nullable<JsonNodeOptions>)
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create(sbyte value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : sbyte * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As SByte, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy
Platí pro
Create(Nullable<Int16>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(short? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<int16> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Short), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<Guid>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(Guid? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<Guid> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Guid), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Int16, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(short value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : int16 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Short, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(DateTime, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(DateTime value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : DateTime * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As DateTime, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(DateTimeOffset, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(DateTimeOffset value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : DateTimeOffset * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As DateTimeOffset, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- value
- DateTimeOffset
Základní hodnota nové JsonValue instance.
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Decimal, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(decimal value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : decimal * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Decimal, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Double, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(double value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : double * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Double, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Guid, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(Guid value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Guid * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Guid, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<Double>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(double? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<double> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Double), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Char, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(char value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : char * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Char, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Int32, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(int value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : int * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Integer, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<Boolean>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(bool? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<bool> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Boolean), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<Byte>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(byte? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<byte> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Byte), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<Char>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(char? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<char> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Char), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<DateTime>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(DateTime? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<DateTime> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of DateTime), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<DateTimeOffset>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(DateTimeOffset? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<DateTimeOffset> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of DateTimeOffset), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- value
- Nullable<DateTimeOffset>
Základní hodnota nové JsonValue instance.
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Nullable<Decimal>, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create(decimal? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<decimal> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Decimal), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Int64, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(long value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : int64 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Long, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create(Byte, Nullable<JsonNodeOptions>)
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue Create(byte value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : byte * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Byte, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create<T>(T, JsonTypeInfo<T>, Nullable<JsonNodeOptions>)
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
public static System.Text.Json.Nodes.JsonValue? Create<T>(T? value, System.Text.Json.Serialization.Metadata.JsonTypeInfo<T> jsonTypeInfo, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : 'T * System.Text.Json.Serialization.Metadata.JsonTypeInfo<'T> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create(Of T) (value As T, jsonTypeInfo As JsonTypeInfo(Of T), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry typu
- T
Typ hodnoty, kterou chcete vytvořit.
Parametry
- value
- T
Hodnota, kterou chcete vytvořit.
- jsonTypeInfo
- JsonTypeInfo<T>
Ten JsonTypeInfo se použije k serializaci hodnoty.
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
Platí pro
Create<T>(T, Nullable<JsonNodeOptions>)
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
- Zdroj:
- JsonValue.cs
Inicializuje novou instanci JsonValue třídy, která obsahuje zadanou hodnotu.
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating JsonValue instances with non-primitive types requires generating code at runtime.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed. Use the overload that takes a JsonTypeInfo, or make sure all of the required types are preserved.")]
public static System.Text.Json.Nodes.JsonValue? Create<T>(T? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed. Use the overload that takes a JsonTypeInfo, or make sure all of the required types are preserved.")]
public static System.Text.Json.Nodes.JsonValue? Create<T>(T? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
public static System.Text.Json.Nodes.JsonValue? Create<T>(T? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating JsonValue instances with non-primitive types requires generating code at runtime.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed. Use the overload that takes a JsonTypeInfo, or make sure all of the required types are preserved.")>]
static member Create : 'T * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed. Use the overload that takes a JsonTypeInfo, or make sure all of the required types are preserved.")>]
static member Create : 'T * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
static member Create : 'T * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create(Of T) (value As T, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue
Parametry typu
- T
Typ hodnoty, kterou chcete vytvořit.
Parametry
- value
- T
Hodnota, kterou chcete vytvořit.
- options
- Nullable<JsonNodeOptions>
Možnosti řízení chování
Návraty
Nová instance JsonValue třídy, která obsahuje zadanou hodnotu.
- Atributy