VCardParserParseFromString(String, VCard) Method

This static method can be used to load property values into an existing instance of a single vCard from a string.

Definition

Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static void ParseFromString(
	string vCardText,
	VCard vCard
)

Parameters

vCardText  String
A set of properties for a single vCard in a string
vCard  VCard
The vCard instance into which the properties will be loaded

Remarks

The properties of the specified vCard will be cleared before the new properties are loaded into it.

Example

C#
VCard vCard = new VCard();
VCardParser.ParseFromString(oneVCard, vCard);

See Also