DSShared.old.VarCollection.ReadLine C# (CSharp) Method

ReadLine() public method

public ReadLine ( ) : KeyVal
return KeyVal
		public KeyVal ReadLine()
		{
			string line = ReadLine(sr,this);
			if(line==null)
				return null;
			int idx = line.IndexOf(Separator);
			if(idx>0)
				return new KeyVal(line.Substring(0,idx),line.Substring(idx+1));
			else
				return new KeyVal(line,"");
		}

Same methods

VarCollection::ReadLine ( KeyVal &output ) : bool
VarCollection::ReadLine ( StreamReader sr ) : string
VarCollection::ReadLine ( StreamReader sr, VarCollection vars ) : string