Geocoding.Google.GoogleGeocoder.LoadXmlResponse C# (CSharp) Method

LoadXmlResponse() private method

private LoadXmlResponse ( WebResponse response ) : XPathDocument
response System.Net.WebResponse
return System.Xml.XPath.XPathDocument
		private XPathDocument LoadXmlResponse(WebResponse response)
		{
			using (Stream stream = response.GetResponseStream())
			{
				XPathDocument doc = new XPathDocument(stream);
				return doc;
			}
		}