VCardContactLoad Method (String, Encoding)

Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0

Namespace:  Aspose.Email.PersonalInfo.VCard
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public static VCardContact Load(
	string filePath,
	Encoding encoding
)

Parameters

filePath
Type: SystemString
A file name to read from
encoding
Type: System.TextEncoding
File encoding

Return Value

Type: VCardContact
A read VCardContact
Exceptions
ExceptionCondition
ArgumentExceptionfilePath is null or empty
See Also