VCardContact.Load
Load(Stream, CancellationToken)
Reads VCardContact
from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(Stream stream, CancellationToken token)
Parameter | Type | Description |
---|---|---|
stream | Stream | A stream to read from |
token | CancellationToken | Propagates notification that operations should be canceled. |
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, Encoding, CancellationToken)
Reads VCardContact
from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(Stream stream, Encoding encoding, CancellationToken token)
Parameter | Type | Description |
---|---|---|
stream | Stream | A stream to read from |
encoding | Encoding | Stream data encoding |
token | CancellationToken | Propagates notification that operations should be canceled. |
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(string, CancellationToken)
Reads VCardContact
from the specified vCard file The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(string filePath, CancellationToken token)
Parameter | Type | Description |
---|---|---|
filePath | String | A file name to read from |
token | CancellationToken | Propagates notification that operations should be canceled. |
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, Encoding, CancellationToken)
Reads VCardContact
from the specified vCard file The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(string filePath, Encoding encoding, CancellationToken token)
Parameter | Type | Description |
---|---|---|
filePath | String | A file name to read from |
encoding | Encoding | Stream data encoding |
token | CancellationToken | Propagates notification that operations should be canceled. |
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)
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, Encoding)
Reads VCardContact
from the specified vCard file The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(string filePath, Encoding encoding)
Parameter | Type | Description |
---|---|---|
filePath | String | A file name to read from |
encoding | Encoding | File encoding |
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(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, Encoding)
Reads VCardContact
from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
public static VCardContact Load(Stream stream, Encoding encoding)
Parameter | Type | Description |
---|---|---|
stream | Stream | A stream to read from |
encoding | Encoding | Stream data encoding |
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