Enum RateFormatType

RateFormatType enumeration

Specifies the units used by Microsoft Project to display a rate.

public enum RateFormatType

Values

NameValueDescription
Undefined-1The value was not defined in original project file.
Minute0Minute (“min”)
Hour1Hour (“hr”)
Day2Day (“day”)
Week3Week (“wk”)
Month4Month (“mo”)
Year5Year (“yr”)
MaterialResourceRate6Material resource rate (empty)

Remarks

While exporting into XML the Undefined values will be eliminated from resulting XML.

Examples

Shows how to read/write Rsc.StandardRateFormat property.

var project = new Project();

var resource = project.Resources.Add("Resource");

resource.Set(Rsc.StandardRateFormat, RateFormatType.Hour);

Console.WriteLine("Standard Rate Format: " + resource.Get(Rsc.StandardRateFormat));

See Also