Attachment
Attachment()
Initialiseert nieuw exemplaar vanAttachment klasse.
Zie ook
Attachment(string, string)
Initialiseert nieuw exemplaar vanAttachment klasse.
public Attachment(string fileName, string filePath)
| Parameter |
Type |
Beschrijving |
| fileName |
String |
Bestandsnaam bijlage. |
| filePath |
String |
Bijlage relatief pad bijvmap/bestand.docx of bestandsnaam wanneer het bestand zich in de hoofdmap van een archief, in een e-mailbericht of in een gegevensbestand bevindt. |
Uitzonderingen
| uitzondering |
voorwaarde |
| ArgumentException |
Wanneer gegooidfileName is null of leeg. |
| ArgumentException |
Wanneer gegooidfilePath is null of leeg. |
Zie ook
Attachment(string, string, string, long)
Initialiseert nieuw exemplaar vanAttachment klasse.
public Attachment(string id, string fileName, string filePath, long size)
| Parameter |
Type |
Beschrijving |
| id |
String |
Unieke (in de context van een enkel bestand) identificatie van de bijlage. |
| fileName |
String |
Bestandsnaam bijlage. |
| filePath |
String |
Bijlage relatief pad bijvmap/bestand.docx of bestandsnaam wanneer het bestand zich in de hoofdmap van een archief, in een e-mailbericht of in een gegevensbestand bevindt. |
| size |
Int64 |
Bestandsgrootte van bijlagen in bytes. |
Uitzonderingen
| uitzondering |
voorwaarde |
| ArgumentException |
Wanneer gegooidid is null of leeg. |
| ArgumentException |
Wanneer gegooidfileName is null of leeg. |
| ArgumentException |
Wanneer gegooidfilePath is null of leeg. |
Zie ook
Attachment(string, string, string, FileType, long)
Initialiseert nieuw exemplaar vanAttachment klasse.
public Attachment(string id, string fileName, string filePath, FileType fileType, long size)
| Parameter |
Type |
Beschrijving |
| id |
String |
Unieke (in de context van een enkel bestand) identificatie van de bijlage. |
| fileName |
String |
Bestandsnaam bijlage. |
| filePath |
String |
Bijlage relatief pad bijvmap/bestand.docx of bestandsnaam wanneer het bestand zich in de hoofdmap van een archief, in een e-mailbericht of in een gegevensbestand bevindt. |
| fileType |
FileType |
Bijlage bestandstype. |
| size |
Int64 |
Bestandsgrootte van bijlagen in bytes. |
Uitzonderingen
| uitzondering |
voorwaarde |
| ArgumentException |
Wanneer gegooidid is null of leeg. |
| ArgumentException |
Wanneer gegooidfileName is null of leeg. |
| ArgumentException |
Wanneer gegooidfilePath is null of leeg. |
| ArgumentNullException |
Wanneer gegooidfileType is niets. |
Zie ook