PDIParserParseString Method

This method is used to parse one or more PDI objects from a string

Definition

Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public void ParseString(
	string pdiText
)

Parameters

pdiText  String
The PDI information to parse

Remarks

The derived class will build a list of objects based on the data stream. See the derived classes for more information. The method will parse all data from the start of the string to the end of the string.

Example

C#
VCardParser vcp = new VCardParser();
vcp.ParseString(vCardsText);

VCardCollection vCards = vcp.VCards;

Exceptions

PDIParserExceptionThis is thrown if there is an error parsing the data stream. Inner exceptions may contain additional information about the cause of the error.

See Also