SparkleLib.SparkleConfig.GetFolderOptionalAttribute C# (CSharp) Method

GetFolderOptionalAttribute() public method

public GetFolderOptionalAttribute ( string folder_name, string key ) : string
folder_name string
key string
return string
        public string GetFolderOptionalAttribute(string folder_name, string key)
        {
            XmlNode folder = GetFolder (folder_name);

            if (folder != null) {
                if (folder [key] != null)
                    return folder [key].InnerText;
                else
                    return null;

            } else {
                return null;
            }
        }