System.Web.Configuration.HttpCapabilitiesBase.ReadVersion C# (CSharp) Method

ReadVersion() private method

private ReadVersion ( string key ) : Version
key string
return Version
		Version ReadVersion (string key) 
		{
			string v = this [key];
			if (v == null) {
				throw CreateCapabilityNotFoundException (key);
			}

			try {
				return new Version (v);
			}
			catch {
				throw CreateCapabilityNotFoundException (key);
			}
		}