CalendarWriter.StartComponent method (ComponentId)
The StartComponent method starts a new component that is identified by the componentId parameter.
Namespace: Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Sub StartComponent ( _
componentId As ComponentId _
)
'Usage
Dim instance As CalendarWriter
Dim componentId As ComponentId
instance.StartComponent(componentId)
public void StartComponent(
ComponentId componentId
)
Parameters
componentId
Type: Microsoft.Exchange.Data.ContentTypes.iCalendar.ComponentIdA ComponentId enumeration value that indicates the component to start.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The componentId parameter value that was passed represents a component that is not allowed within the current component. |