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

ReadInt32() private method

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

			try {
				return Int32.Parse (v);
			} catch {
				throw CreateCapabilityNotFoundException (key);
			}
		}