JsonPrimitive Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The JsonPrimitive type exposes the following members.

Methods

  Name Description
Public method ContainsKey Throws an InvalidOperationException. (Inherited from JsonValue.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Save(Stream) Serializes the JsonPrimitive object into text-based JSON. (Overrides JsonValue.Save(Stream).)
Public method Save(TextWriter) Serializes the JsonValue CLR type into text-based JSON using a text writer. (Inherited from JsonValue.)
Public method ToString Saves (serializes) this JSON CLR type into text-based JSON. (Inherited from JsonValue.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator This method is not supported for this base class and throws an exception. (Inherited from JsonValue.)

Top