Share via


JsonValue.Create 方法

定义

重载

Create(Boolean, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Int64>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<SByte>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Single>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<JsonElement>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<UInt16>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<UInt32>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Int32>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<UInt64>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Single, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(String, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(JsonElement, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(UInt16, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(UInt32, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(UInt64, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(SByte, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Int16>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Guid>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Int16, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(DateTime, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(DateTimeOffset, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Decimal, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Double, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Guid, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Double>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Char, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Int32, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Boolean>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Byte>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Char>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<DateTime>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<DateTimeOffset>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Nullable<Decimal>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Int64, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Byte, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create<T>(T, JsonTypeInfo<T>, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create<T>(T, Nullable<JsonNodeOptions>)

初始化包含指定值的 类的新实例 JsonValue

Create(Boolean, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Boolean

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<Int64>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Int64>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<SByte>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
Nullable<SByte>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(Nullable<Single>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Single>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<JsonElement>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<JsonElement>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<UInt16>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
Nullable<UInt16>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(Nullable<UInt32>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
Nullable<UInt32>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(Nullable<Int32>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Int32>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<UInt64>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
Nullable<UInt64>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(Single, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Single

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(String, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
String

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(JsonElement, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
JsonElement

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(UInt16, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
UInt16

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(UInt32, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
UInt32

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(UInt64, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
UInt64

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(SByte, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

重要

此 API 不符合 CLS。

初始化包含指定值的 类的新实例 JsonValue

[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

参数

value
SByte

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

属性

适用于

Create(Nullable<Int16>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Int16>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<Guid>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Guid>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Int16, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Int16

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(DateTime, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
DateTime

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(DateTimeOffset, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
DateTimeOffset

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Decimal, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Decimal

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Double, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Double

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Guid, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Guid

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<Double>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Double>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Char, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Char

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Int32, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Int32

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<Boolean>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Boolean>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<Byte>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Byte>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<Char>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Char>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<DateTime>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<DateTime>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<DateTimeOffset>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<DateTimeOffset>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Nullable<Decimal>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Nullable<Decimal>

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Int64, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Int64

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create(Byte, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

初始化包含指定值的 类的新实例 JsonValue

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

参数

value
Byte

JsonValue 实例的基础值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create<T>(T, JsonTypeInfo<T>, Nullable<JsonNodeOptions>)

Source:
JsonValue.cs
Source:
JsonValue.cs
Source:
JsonValue.cs

初始化包含指定值的 类的新实例 JsonValue

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

类型参数

T

要创建的值的类型。

参数

value
T

要创建的值。

jsonTypeInfo
JsonTypeInfo<T>

JsonTypeInfo将用于序列化值的 。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于

Create<T>(T, Nullable<JsonNodeOptions>)

Source:
JsonValue.cs
Source:
JsonValue.cs
Source:
JsonValue.cs

初始化包含指定值的 类的新实例 JsonValue

public static System.Text.Json.Nodes.JsonValue? Create<T> (T? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
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

类型参数

T

要创建的值的类型。

参数

value
T

要创建的值。

options
Nullable<JsonNodeOptions>

用于控制行为的选项。

返回

包含指定值的 类的新实例 JsonValue

适用于