Udostępnij za pośrednictwem


CalendarWriter.StartComponent Method (String)

The StartComponent method starts a new component that is identified by the name parameter.

Namespace:  Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub StartComponent ( _
    name As String _
)
'Usage
Dim instance As CalendarWriter
Dim name As String

instance.StartComponent(name)
public void StartComponent(
    string name
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The name parameter was passed as a a null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).

ArgumentException

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