DateAndOrTimeBuilderSetIndexes Method

Sets the Index properties of the items in in the specified VCard property ascending depending on their position in that collection and allows to specify whether to skip empty items in that process.

Definition

Namespace: FolkerKinzel.VCards.BuilderParts
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public VCardBuilder SetIndexes(
	bool skipEmptyItems = true
)

Parameters

skipEmptyItems  Boolean  (Optional)
true to reset the Index of empty VCardProperty objects to null, or false to treat empty VCardProperty objects like any other. (null references are always skipped.)

Return Value

VCardBuilder
The VCardBuilder instance that initialized this DateAndOrTimeBuilder to be able to chain calls.

Exceptions

InvalidOperationExceptionThe method has been called on an instance that had been initialized using the default constructor.

See Also