VCardContact.LoadAsMultiple

LoadAsMultiple(string, Encoding, CancellationToken)

Loads list of contacts from multi contact stream.

public static List<VCardContact> LoadAsMultiple(string filePath, Encoding encoding, 
    CancellationToken token)
ParameterTypeDescription
filePathStringA file name to read from
encodingEncodingStream data encoding,if null then UTF8 will be used.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

List of contacs

See Also


LoadAsMultiple(Stream, Encoding, CancellationToken)

Loads list of contacts from multi contact stream.

public static List<VCardContact> LoadAsMultiple(Stream stream, Encoding encoding, 
    CancellationToken token)
ParameterTypeDescription
streamStreamSource stream
encodingEncodingStream data encoding,if null then UTF8 will be used.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

List of contacs

See Also


LoadAsMultiple(Stream)

Loads list of contacts from multi contact stream.

public static List<VCardContact> LoadAsMultiple(Stream stream)
ParameterTypeDescription
streamStreamSource stream

Return Value

List of contacs

See Also


LoadAsMultiple(Stream, VCardLoadOptions)

Loads list of contacts from multi contact stream.

public static List<VCardContact> LoadAsMultiple(Stream stream, VCardLoadOptions options)
ParameterTypeDescription
streamStreamSource stream
optionsVCardLoadOptionsAdditional options when loading a VCardContact

Return Value

List of contacts

Exceptions

exceptioncondition
ArgumentNullExceptionThrows if stream is null
NotSupportedExceptionThrows if the stream is not readable

See Also


LoadAsMultiple(string)

Loads list of contacts from multi contact file.

public static List<VCardContact> LoadAsMultiple(string filePath)
ParameterTypeDescription
filePathStringSource file

Return Value

List of contacts

See Also


LoadAsMultiple(string, VCardLoadOptions)

public static List<VCardContact> LoadAsMultiple(string filePath, VCardLoadOptions options)
ParameterTypeDescription
filePathStringSource file
optionsVCardLoadOptionsAdditional options when loading a VCardContact

Return Value

List of contacts

Exceptions

exceptioncondition
ArgumentExceptionThrows if filePath is null or empty

See Also