Gets the attendees of this appointment.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
public ContactCollection Attendees { get; } |
Visual Basic Copy Code |
---|
Public ReadOnly Property Attendees As ContactCollection |
An instance of the ContactCollection class specifying the appointment's attendees.
This property is equivalent to Contacts.
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 |
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) |