JsonObject 클래스

정의

public ref class JsonObject : System::Json::JsonValue, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Json::JsonValue ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>>
public class JsonObject : System.Json.JsonValue, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue>>, System.Collections.Generic.IDictionary<string,System.Json.JsonValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue>>
type JsonObject = class
    inherit JsonValue
    interface IDictionary<string, JsonValue>
    interface ICollection<KeyValuePair<string, JsonValue>>
    interface seq<KeyValuePair<string, JsonValue>>
    interface IEnumerable
Public Class JsonObject
Inherits JsonValue
Implements ICollection(Of KeyValuePair(Of String, JsonValue)), IDictionary(Of String, JsonValue), IEnumerable(Of KeyValuePair(Of String, JsonValue))
상속
JsonObject
구현

설명

참고

네임스페이 System.Json 스는 더 이상 지원되지 않는 Silverlight용으로 설계되었습니다. JSON 처리를 위해 대신 네임스페이스에서 API를 System.Text.Json 사용하는 것이 좋습니다.

생성자

JsonObject(IEnumerable<KeyValuePair<String,JsonValue>>)
JsonObject(KeyValuePair<String,JsonValue>[])

속성

Count

ICollection<T>에 포함된 요소 수를 가져옵니다.

Item[Int32] (다음에서 상속됨 JsonValue)
Item[String]

지정한 키를 가진 요소를 가져오거나 설정합니다.

JsonType
Keys

ICollection<T>의 키를 포함하는 IDictionary<TKey,TValue>을 가져옵니다.

Values

ICollection<T>의 값이 들어 있는 IDictionary<TKey,TValue>을 가져옵니다.

메서드

Add(KeyValuePair<String,JsonValue>)

ICollection<T>에 항목을 추가합니다.

Add(String, JsonValue)

제공된 키와 값을 가진 요소를 IDictionary<TKey,TValue>에 추가합니다.

AddRange(IEnumerable<KeyValuePair<String,JsonValue>>)
AddRange(KeyValuePair<String,JsonValue>[])
Clear()

ICollection<T>에서 항목을 모두 제거합니다.

ContainsKey(String)

지정된 키를 갖는 요소가 IDictionary<TKey,TValue>에 들어 있는지 여부를 결정합니다.

CopyTo(KeyValuePair<String,JsonValue>[], Int32)

특정 ICollection<T> 인덱스부터 시작하여 Array의 요소를 Array에 복사합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetEnumerator()

컬렉션을 반복하는 열거자를 반환합니다.

GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
Remove(String)

IDictionary<TKey,TValue>에서 지정한 키를 가지는 요소를 제거합니다.

Save(Stream)
Save(TextWriter) (다음에서 상속됨 JsonValue)
ToString() (다음에서 상속됨 JsonValue)
TryGetValue(String, JsonValue)

명시적 인터페이스 구현

ICollection<KeyValuePair<String,JsonValue>>.Contains(KeyValuePair<String,JsonValue>)

ICollection<T>에 특정 값이 들어 있는지 여부를 확인합니다.

ICollection<KeyValuePair<String,JsonValue>>.IsReadOnly

ICollection<T>가 읽기 전용인지 여부를 나타내는 값을 가져옵니다.

ICollection<KeyValuePair<String,JsonValue>>.Remove(KeyValuePair<String,JsonValue>)

ICollection<T>에서 맨 처음 발견되는 특정 개체를 제거합니다.

IEnumerable.GetEnumerator()

컬렉션을 반복하는 열거자를 반환합니다.

확장 메서드

AsReadOnly<TKey,TValue>(IDictionary<TKey,TValue>)

현재 사전에 대한 읽기 전용 ReadOnlyDictionary<TKey,TValue> 래퍼를 반환합니다.

CopyToDataTable<T>(IEnumerable<T>)

제네릭 매개 변수 TDataTable인 지정된 입력 DataRow 개체를 사용하여 IEnumerable<T> 개체의 복사본이 들어 있는 DataRow을 반환합니다.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

제네릭 매개 변수 TDataRow인 지정된 입력 DataTable 개체를 사용하여 IEnumerable<T> 개체를 지정된 DataRow에 복사합니다.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

제네릭 매개 변수 TDataRow인 지정된 입력 DataTable 개체를 사용하여 IEnumerable<T> 개체를 지정된 DataRow에 복사합니다.

적용 대상