JsonArray 클래스

정의

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

설명

참고

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

생성자

JsonArray(IEnumerable<JsonValue>)
JsonArray(JsonValue[])

속성

Count

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

IsReadOnly

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

Item[Int32]

지정한 인덱스에 있는 요소를 가져오거나 설정합니다.

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

메서드

Add(JsonValue)

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

AddRange(IEnumerable<JsonValue>)
AddRange(JsonValue[])
Clear()

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

Contains(JsonValue)

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

ContainsKey(String) (다음에서 상속됨 JsonValue)
CopyTo(JsonValue[], Int32)

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

Equals(Object)

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

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

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

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

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

(다음에서 상속됨 Object)
IndexOf(JsonValue)

IList<T>에서 특정 항목의 인덱스를 결정합니다.

Insert(Int32, JsonValue)

항목을 IList<T>의 지정된 인덱스에 삽입합니다.

MemberwiseClone()

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

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

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

RemoveAt(Int32)

지정한 인덱스에서 IList<T> 항목을 제거합니다.

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

명시적 인터페이스 구현

IEnumerable.GetEnumerator()

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

IEnumerable<JsonValue>.GetEnumerator()

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

확장 메서드

AsReadOnly<T>(IList<T>)

지정된 목록에 대한 읽기 전용 ReadOnlyCollection<T> 래퍼를 반환합니다.

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에 복사합니다.

적용 대상