NotesText

Asn.NotesText field

Notes’ plain text extracted from RTF data.

public static readonly Key<string, AsnKey> NotesText;

Examples

Shows how to get/set resource assignment notes.

var project = new Project(DataDir + "UpdateResourceAssignment.mpp");
var task = project.RootTask.Children.GetById(1);
var rsc = project.Resources.GetById(1);

// create resource assignment
var assn = project.ResourceAssignments.Add(task, rsc);

// set resource assignment notes 
assn.Set(Asn.NotesText, "Newly added assignment");

Console.WriteLine("Notes text: " + assn.Get(Asn.NotesText));
Console.WriteLine("Notes RTF: " + assn.Get(Asn.NotesRTF));

See Also