JsonObject.TryGetPropertyValue 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
TryGetPropertyValue(String, JsonNode, Int32) | |
TryGetPropertyValue(String, JsonNode) |
지정된 이름의 속성 값을 반환합니다. |
TryGetPropertyValue(String, JsonNode, Int32)
- Source:
- JsonObject.cs
- Source:
- JsonObject.cs
public:
bool TryGetPropertyValue(System::String ^ propertyName, [Runtime::InteropServices::Out] System::Text::Json::Nodes::JsonNode ^ % jsonNode, [Runtime::InteropServices::Out] int % index);
public bool TryGetPropertyValue(string propertyName, out System.Text.Json.Nodes.JsonNode? jsonNode, out int index);
member this.TryGetPropertyValue : string * JsonNode * int -> bool
Public Function TryGetPropertyValue (propertyName As String, ByRef jsonNode As JsonNode, ByRef index As Integer) As Boolean
매개 변수
- propertyName
- String
- jsonNode
- JsonNode
- index
- Int32
반환
적용 대상
TryGetPropertyValue(String, JsonNode)
- Source:
- JsonObject.cs
- Source:
- JsonObject.cs
- Source:
- JsonObject.cs
- Source:
- JsonObject.cs
- Source:
- JsonObject.cs
- Source:
- JsonObject.cs
지정된 이름의 속성 값을 반환합니다.
public:
bool TryGetPropertyValue(System::String ^ propertyName, [Runtime::InteropServices::Out] System::Text::Json::Nodes::JsonNode ^ % jsonNode);
public bool TryGetPropertyValue(string propertyName, out System.Text.Json.Nodes.JsonNode? jsonNode);
member this.TryGetPropertyValue : string * JsonNode -> bool
Public Function TryGetPropertyValue (propertyName As String, ByRef jsonNode As JsonNode) As Boolean
매개 변수
- propertyName
- String
반환할 속성의 이름입니다.
- jsonNode
- JsonNode
지정된 이름을 가진 속성의 JSON 값입니다.
반환
true
지정된 이름의 속성이 있으면 이고, 그렇지 않으면 입니다 false
.