SPCalendarItem members

Represents a calendar item.

The SPCalendarItem type exposes the following members.

Constructors

  Name Description
Public method SPCalendarItem() Initializes a new instance of the SPCalendarItem class.
Public method SPCalendarItem(Int32, DateTime, DateTime, Boolean, Boolean, String, String, String, String, Boolean, Boolean, String, String, String) Initializes a new instance of the SPCalendarItem class by using the specified parameters.

Top

Properties

  Name Description
Public property BackgroundColorClassName Gets or sets the class name for the background color of the item.
Public property CalendarType Gets or sets the calendar type.
Public property Description Gets or sets a string that represents the descriptive text for the calendar item.
Public property Direction Gets or sets the string value that represents the reading direction of the calendar item.
Public property DisplayFormUrl Gets or sets a string that contains the URL for the display form of the calendar item.
Public property EndDate Gets or sets the date and time for the end date of the calendar item.
Public property hasEndDate Gets or sets a Boolean value that indicates whether the calendar item has an end date.
Public property IsAllDayEvent Gets or sets a Boolean value that indicates whether the calendar item is an all-day event.
Public property IsRecurrence Gets or sets a Boolean value that indicates the recurrence of the calendar item.
Public property IsRecurrenceException Gets or sets the Boolean that indicates whether this is an exception to a recurring calendar event.
Public property ItemID Gets or sets a string that contains the ID of the calendar item.
Public property Location Gets or sets the string value that represents the location of the calendar item.
Public property StartDate Gets or sets the date and time for the start date of the calendar item.
Public property Title Gets or sets a string that contains the title of the calendar item.
Public property WorkSpaceLink Gets or sets the string value that represents the workspace link.

Top

Methods

  Name Description
Public method CompareTo Compares this instance to a specified object and returns an indication of their relative values.
Public method Equals Returns a value indicating whether this instance is equal to the specified system object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Overide GetHashCode. HashCode of obj1 should equal HashCode of obj2 if obj1.Equals(obj2) is true (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two calendar objects are equal.
Public operatorStatic member GreaterThan Determines whether the first calendar item is greater than the second calendar item.
Public operatorStatic member Inequality Determines whether two calendar objects are unequal.
Public operatorStatic member LessThan Determines whether the first calendar item is less than the second calendar item.

Top

See also

Reference

SPCalendarItem class

Microsoft.SharePoint.WebControls namespace