แก้ไข

แชร์ผ่าน


JsonPrimitive Class

Definition

public ref class JsonPrimitive : System::Json::JsonValue
public class JsonPrimitive : System.Json.JsonValue
type JsonPrimitive = class
    inherit JsonValue
Public Class JsonPrimitive
Inherits JsonValue
Inheritance
JsonPrimitive

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Constructors

JsonPrimitive(Boolean)
JsonPrimitive(Byte)
JsonPrimitive(Char)
JsonPrimitive(DateTime)
JsonPrimitive(DateTimeOffset)
JsonPrimitive(Decimal)
JsonPrimitive(Double)
JsonPrimitive(Guid)
JsonPrimitive(Int16)
JsonPrimitive(Int32)
JsonPrimitive(Int64)
JsonPrimitive(SByte)
JsonPrimitive(Single)
JsonPrimitive(String)
JsonPrimitive(TimeSpan)
JsonPrimitive(UInt16)
JsonPrimitive(UInt32)
JsonPrimitive(UInt64)
JsonPrimitive(Uri)

Properties

Count (Inherited from JsonValue)
Item[Int32] (Inherited from JsonValue)
Item[String] (Inherited from JsonValue)
JsonType

Methods

ContainsKey(String) (Inherited from JsonValue)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save(Stream)
Save(TextWriter) (Inherited from JsonValue)
ToString() (Inherited from JsonValue)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from JsonValue)

Applies to