VCard ParserParse From File Method
This static method can be used to load property values into a new vCard collection from a file. The
filename can be a disk file or a URL.
Definition
Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
A new vCard collection as created from the file
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public static VCardCollection ParseFromFile(
string filename
)VB
Public Shared Function ParseFromFile (
filename As String
) As VCardCollectionC++
public:
static VCardCollection^ ParseFromFile(
String^ filename
)F#
static member ParseFromFile :
filename : string -> VCardCollection Parameters
- filename String
- A path or URL to a file containing one or more vCards
Return Value
VCardCollectionA new vCard collection as created from the file
Example
C#
VCardCollection vCards1 = VCardParser.ParseFromFile(@"C:\AddressBook.vcf");
VCardCollection vCards2 = VCardParser.ParseFromFile(
"http://www.mydomain.com/VCards/AddressBook.vcf");VB
Dim vCards1 As VCardCollection = VCardParser.ParseFromFile("C:\AddressBook.vcf")
Dim vCards2 As VCardCollection = VCardParser.ParseFromFile(
"http://www.mydomain.com/VCards/AddressBook.vcf")C++
No code example is currently available or this language may not be supported.F#
No code example is currently available or this language may not be supported.