JsonPrimitive Klasa

Definicja

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

Uwagi

Uwaga

Przestrzeń nazw została zaprojektowana System.Json dla programu Silverlight, który nie jest już obsługiwany. W przypadku przetwarzania kodu JSON zalecamy zamiast tego używanie interfejsów API w System.Text.Json przestrzeni nazw.

Konstruktory

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)

Właściwości

Count (Odziedziczone po JsonValue)
Item[Int32] (Odziedziczone po JsonValue)
Item[String] (Odziedziczone po JsonValue)
JsonType

Metody

ContainsKey(String) (Odziedziczone po JsonValue)
Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetType()

Type Pobiera bieżące wystąpienie.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
Save(Stream)
Save(TextWriter) (Odziedziczone po JsonValue)
ToString() (Odziedziczone po JsonValue)

Jawne implementacje interfejsu

IEnumerable.GetEnumerator()

Zwraca moduł wyliczający, który iteruje po kolekcji.

(Odziedziczone po JsonValue)

Metody rozszerzania

Cast<TResult>(IEnumerable)

Rzutuje elementy elementu IEnumerable do określonego typu.

OfType<TResult>(IEnumerable)

Filtruje elementy elementu IEnumerable na podstawie określonego typu.

AsParallel(IEnumerable)

Umożliwia równoległość zapytania.

AsQueryable(IEnumerable)

Konwertuje element IEnumerable na .IQueryable

Dotyczy