JSONTools.JSONObject.GetChild C# (CSharp) Méthode

GetChild() public méthode

public GetChild ( string ChildName ) : JSONObject
ChildName string
Résultat 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;
        }