Caution
public static void SaveVcf(
this IEnumerable<VCard?> vCards,
string filePath,
VCdVersion version = VCdVersion.V3_0,
ITimeZoneIDConverter? tzConverter = null,
VcfOpts options = VcfOpts.Default
)
<ExtensionAttribute>
Public Shared Sub SaveVcf (
vCards As IEnumerable(Of VCard),
filePath As String,
Optional version As VCdVersion = VCdVersion.V3_0,
Optional tzConverter As ITimeZoneIDConverter = Nothing,
Optional options As VcfOpts = VcfOpts.Default
)
public:
[ExtensionAttribute]
static void SaveVcf(
IEnumerable<VCard^>^ vCards,
String^ filePath,
VCdVersion version = VCdVersion::V3_0,
ITimeZoneIDConverter^ tzConverter = nullptr,
VcfOpts options = VcfOpts::Default
)
[<ExtensionAttribute>]
static member SaveVcf :
vCards : IEnumerable<VCard> *
filePath : string *
?version : VCdVersion *
?tzConverter : ITimeZoneIDConverter *
?options : VcfOpts
(* Defaults:
let _version = defaultArg version VCdVersion.V3_0
let _tzConverter = defaultArg tzConverter null
let _options = defaultArg options VcfOpts.Default
*)
-> unit
The method may serialize more vCards than the number of elements in the collection passed to the vCards parameter. This can happen if there are embedded VCard objects in the Members or Relations properties.
ArgumentNullException | filePath or vCards is null. |
ArgumentException | filePath is not a valid file path. |
ArgumentOutOfRangeException | version is not a defined value of the VcfOpts enum. |
IOException | The file could not be written. |