Share via


SPCalendarItem.ItemID property

Gets or sets a string that contains the ID of the calendar item.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ItemID As String
    Get
    Set
'Usage
Dim instance As SPCalendarItem
Dim value As String

value = instance.ItemID

instance.ItemID = value
public string ItemID { get; set; }

Property value

Type: System.String
The ID of the calendar item.

Implements

ISPCalendarItem.ItemID

Remarks

The ID of a calendar item uniquely identifies it from the other items in a list and from all other items within the database that stores the calendar data.

See also

Reference

SPCalendarItem class

SPCalendarItem members

Microsoft.SharePoint.WebControls namespace