JSONTools.JSONObject.GetChild C# (CSharp) 메소드

GetChild() 공개 메소드

public GetChild ( string ChildName ) : JSONObject
ChildName string
리턴 JSONObject
        public JSONObject GetChild(string ChildName)
        {
            foreach (JSONObject child in this.ChildObjects)
            {
                if (child.Name == null) { continue; }
                if (child.Name.ToUpper() == ChildName.ToUpper())
                {
                    return child;
                }
            }
            return null;
        }