Tools.XmlConfigMerge.ConfigFileManager.GetKeyValue C# (CSharp) 메소드

GetKeyValue() 공개 메소드

public GetKeyValue ( string key ) : string
key string
리턴 string
		public string GetKeyValue(string key)
        {
			if (key == null || key == string.Empty)
            {
				throw new ApplicationException("Required key is blank or null");
			}
			
            XmlNode node = GetKeyValueNode(key);
			
            if (node == null)
            {
				return null;
			}

			return node.Attributes["value"].InnerText;
		}