JsonNode.Item[] 속성

정의

오버로드

Item[Int32]

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

Item[String]

지정된 속성 이름을 가진 요소를 가져오거나 설정합니다. 속성을 찾을 null 수 없으면 반환됩니다.

Item[Int32]

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

public:
 property System::Text::Json::Nodes::JsonNode ^ default[int] { System::Text::Json::Nodes::JsonNode ^ get(int index); void set(int index, System::Text::Json::Nodes::JsonNode ^ value); };
public System.Text.Json.Nodes.JsonNode? this[int index] { get; set; }
member this.Item(int) : System.Text.Json.Nodes.JsonNode with get, set
Default Public Property Item(index As Integer) As JsonNode

매개 변수

index
Int32

가져오거나 설정할 요소의 인덱스(0부터 시작)입니다.

속성 값

JsonNode

예외

index 가 0보다 작거나 index 속성 수보다 큰 경우

현재 JsonNode 는 .가 JsonArray아닙니다.

적용 대상

Item[String]

지정된 속성 이름을 가진 요소를 가져오거나 설정합니다. 속성을 찾을 null 수 없으면 반환됩니다.

public:
 property System::Text::Json::Nodes::JsonNode ^ default[System::String ^] { System::Text::Json::Nodes::JsonNode ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Text::Json::Nodes::JsonNode ^ value); };
public System.Text.Json.Nodes.JsonNode? this[string propertyName] { get; set; }
member this.Item(string) : System.Text.Json.Nodes.JsonNode with get, set
Default Public Property Item(propertyName As String) As JsonNode

매개 변수

propertyName
String

반환할 속성의 이름입니다.

속성 값

JsonNode

예외

propertyName이(가) null인 경우

현재 JsonNode 는 .가 JsonObject아닙니다.

적용 대상