Udostępnij za pośrednictwem


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

Exceptions

Exception Condition
ArgumentException

The componentId parameter value that was passed represents a component that is not allowed within the current component.