MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog.GetPropertyByName C# (CSharp) Method

GetPropertyByName() static private method

static private GetPropertyByName ( string name ) : PropertyInfo
name string
return PropertyInfo
		static PropertyInfo GetPropertyByName (string name)
		{
			PropertyInfo info = typeof(CSharpFormattingPolicy).GetProperty (name);
			if (info == null)
				throw new Exception (name + " property not found");
			return info;
		}