MonoDevelop.Projects.Formats.MSBuild.MSBuildPropertyGroupMerged.GetProperty C# (CSharp) Method

GetProperty() public method

public GetProperty ( string name ) : MSBuildProperty
name string
return MSBuildProperty
		public MSBuildProperty GetProperty(string name)
		{
			// Find property in reverse order, since the last set
			// value is the good one
			for (int n = groups.Count - 1; n >= 0; n--)
			{
				var g = groups[n];
				MSBuildProperty p = g.GetProperty(name);
				if (p != null)
					return p;
			}
			return null;
		}