C# 클래스 Google.PowerShell.Common.JsonExtensions

Static class that contains extension static to manipulate JToken.
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-powershell

공개 메소드들

메소드 설명
TryGetPropertyValue ( this propertiesJson, string key, string &value ) : bool

Search the JToken and its children recursively for a key that matches the given key. If such a key is found, set the value to the ref variable value and returns true. Otherwise, returns false.

메소드 상세

TryGetPropertyValue() 공개 정적인 메소드

Search the JToken and its children recursively for a key that matches the given key. If such a key is found, set the value to the ref variable value and returns true. Otherwise, returns false.
public static TryGetPropertyValue ( this propertiesJson, string key, string &value ) : bool
propertiesJson this
key string
value string
리턴 bool