VCardContact.Load
Contents
[
Hide
]Load(string)
Reads VCardContact
from the specified vCard file The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | A file name to read from |
Return Value
A read VCardContact
Exceptions
exception | condition |
---|---|
ArgumentException | filePath is null or empty |
See Also
- class VCardContact
- namespace Aspose.Email.PersonalInfo.VCard
- assembly Aspose.Email
Load(string, VCardLoadOptions)
Reads VCardContact
from the specified vCard file The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(string filePath, VCardLoadOptions options)
Parameter | Type | Description |
---|---|---|
filePath | String | Source file |
options | VCardLoadOptions | Additional options when loading a VCardContact |
Return Value
List of contacts
Exceptions
exception | condition |
---|---|
ArgumentException | Throws if filePath is null or empty |
See Also
- class VCardLoadOptions
- class VCardContact
- namespace Aspose.Email.PersonalInfo.VCard
- assembly Aspose.Email
Load(Stream)
Reads VCardContact
from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | A stream to read from |
Return Value
A read VCardContact
Exceptions
exception | condition |
---|---|
ArgumentNullException | stream is null |
NotSupportedException | stream does not support reading |
See Also
- class VCardContact
- namespace Aspose.Email.PersonalInfo.VCard
- assembly Aspose.Email
Load(Stream, VCardLoadOptions)
Reads VCardContact
from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(Stream stream, VCardLoadOptions options)
Parameter | Type | Description |
---|---|---|
stream | Stream | A stream to read from |
options | VCardLoadOptions | Additional options when loading a VCardContact |
Return Value
A read VCardContact
Exceptions
exception | condition |
---|---|
ArgumentNullException | stream is null |
NotSupportedException | stream does not support reading |
See Also
- class VCardLoadOptions
- class VCardContact
- namespace Aspose.Email.PersonalInfo.VCard
- assembly Aspose.Email