StringCollectionBuilder Structure

Provides methods for editing VCard properties that contain StringCollectionProperty instances.

Definition

Namespace: FolkerKinzel.VCards.BuilderParts
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public readonly struct StringCollectionBuilder
Inheritance
Object    ValueType    StringCollectionBuilder

Remarks

  Important

Only use this struct in conjunction with VCardBuilder!

Methods

Add(IEnumerableString, ActionParameterSection, FuncVCard, String) Adds a StringCollectionProperty instance, which is newly initialized from a collection of Strings, to the specified property of the VCard.
Add(String, ActionParameterSection, FuncVCard, String) Adds a StringCollectionProperty instance, which is newly initialized from a String, to the specified property of the VCard.
Clear Sets the specified property of the VCard to null.
Edit(FuncIEnumerableStringCollectionProperty, IEnumerableStringCollectionProperty) Edits the content of the specified VCard property with a delegate.
EditTArg(FuncIEnumerableStringCollectionProperty, TArg, IEnumerableStringCollectionProperty, TArg) Edits the content of the specified VCard property with a delegate and allows to pass an argument to this delegate.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Remove Removes StringCollectionProperty objects that match a specified predicate from the specified property of the VCard.
SetIndexes 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.
SetPreferences Sets the Preference properties of the items in the specified VCard property depending on their position in that collection and allows to specify whether to skip empty items in that process. (The first item gets the highest preference 1.)
UnsetIndexes Resets the Index properties of the items in in the specified VCard property to null.
UnsetPreferences Resets the Preference properties of the items in in the specified VCard property to the lowest value (100).

See Also