MapiContact.FromVCard
Contents
[
Hide
]FromVCard(string)
Reads MapiContact
from the specified vCard file The supported vCard versions are 2.1 and 3.0
public static MapiContact FromVCard(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | A file name to read from |
Return Value
A read MapiContact
Exceptions
exception | condition |
---|---|
ArgumentException | filePath is null or empty |
See Also
- class MapiContact
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromVCard(string, Encoding)
Reads MapiContact
from the specified vCard file The supported vCard versions are 2.1 and 3.0
public static MapiContact FromVCard(string filePath, Encoding encoding)
Parameter | Type | Description |
---|---|---|
filePath | String | A file name to read from |
encoding | Encoding | File data encoding |
Return Value
A read MapiContact
Exceptions
exception | condition |
---|---|
ArgumentException | filePath is null or empty |
See Also
- class MapiContact
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromVCard(Stream)
Reads MapiContact
from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
public static MapiContact FromVCard(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | A stream to read from |
Return Value
A read MapiContact
Exceptions
exception | condition |
---|---|
ArgumentNullException | stream is null |
NotSupportedException | stream does not support reading |
See Also
- class MapiContact
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromVCard(Stream, Encoding)
Reads MapiContact
from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
public static MapiContact FromVCard(Stream stream, Encoding encoding)
Parameter | Type | Description |
---|---|---|
stream | Stream | A stream to read from |
encoding | Encoding | Stream data encoding |
Return Value
A read MapiContact
Exceptions
exception | condition |
---|---|
ArgumentNullException | stream is null |
NotSupportedException | stream does not support reading |
See Also
- class MapiContact
- namespace Aspose.Email.Mapi
- assembly Aspose.Email