VCardContactLoad Method (Stream, Encoding)

Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0

Namespace:  Aspose.Email.PersonalInfo.VCard
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public static VCardContact Load(
	Stream stream,
	Encoding encoding
)

Parameters

stream
Type: System.IOStream
A stream to read from
encoding
Type: System.TextEncoding
Stream data encoding

Return Value

Type: VCardContact
A read VCardContact
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null
NotSupportedExceptionstream does not support reading
See Also