MonoTouch.Dialog.MessageSummaryView.Update C# (CSharp) Method

Update() public method

public Update ( string sender, string body, string subject, System.DateTime date, bool newFlag, int messageCount ) : void
sender string
body string
subject string
date System.DateTime
newFlag bool
messageCount int
return void
		public void Update (string sender, string body, string subject, DateTime date, bool newFlag, int messageCount)
		{
			Sender = sender ?? String.Empty;
			Body = body ?? String.Empty;
			Subject = subject;
			Date = date;
			NewFlag = newFlag;
			MessageCount = messageCount;
			SetNeedsDisplay ();
		}
		

Usage Example

示例#1
0
 public void Update(MessageElement me)
 {
     view.Update(me.Sender, me.Body, me.Subject, me.Date, me.NewFlag, me.MessageCount);
 }