Search
Appointment.Attendees Property
See Also
 






Gets the attendees of this appointment.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public ResourceCollection<Contact> Attendees { get; }

Visual Basic  Copy Code

Public ReadOnly Property Attendees As ResourceCollection(Of Contact)

 Property Value

An instance of the ResourceCollection class specifying the appointment's attendees.

 Remarks

This property is equivalent to Contacts.

 Example

The following example creates a new contact and associates it with an existing appointment. The example assumes that app references an existing appointment. The last call is equivalent to app.Contacts.Add(c), since Attendees and Contacts both return a reference to the same collection.

C#  Copy Code

// Create the contact
Contact c = new Contact();
c.FirstName = "John";
c.LastName = "Silver";

// Associate the contact with the appointment
app.Attendees.Add(c);

Visual Basic  Copy Code

' Create the contact
Dim c As New Contact()
c.FirstName = "John"
c.LastName = "Silver"

' Associate the contact with the appointment
app.Attendees.Add(c)

 See Also