JsonValue 類別

定義

public ref class JsonValue abstract : System::Collections::IEnumerable
public abstract class JsonValue : System.Collections.IEnumerable
type JsonValue = class
    interface IEnumerable
Public MustInherit Class JsonValue
Implements IEnumerable
繼承
JsonValue
衍生
實作

備註

注意

命名空間 System.Json 是針對不再支援的 Silverlight 所設計。 若要處理 JSON,建議您改用 命名空間中的 System.Text.Json API。

建構函式

JsonValue()

屬性

Count
Item[Int32]
Item[String]
JsonType

方法

ContainsKey(String)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
Load(Stream)
Load(TextReader)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Parse(String)
Save(Stream)
Save(TextWriter)
ToString()

運算子

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

明確介面實作

IEnumerable.GetEnumerator()

傳回逐一查看集合的列舉值。

適用於