VintaSoft Imaging .NET SDK v9.1 for .NET (.NET Core and .NET Framework)
Vintasoft.Imaging.Pdf.Tree.FileAttachments Namespace / PdfAttachmentCollectionSchema Class / SetDataAsDate Method / SetDataAsDate(String,PdfAttachmentFolder,DateTime) Method
Name of the field (key of this dictionary).
The attachment folder.
Data field value.



In This Topic
    SetDataAsDate(String,PdfAttachmentFolder,DateTime) Method
    In This Topic
    Sets the data, as System.DateTime, for schema field with specified name.
    Syntax
    'Declaration
     
    Public Overloads Sub SetDataAsDate( _
       ByVal fieldName As String, _
       ByVal folder As PdfAttachmentFolder, _
       ByVal value As Date _
    ) 
    public void SetDataAsDate( 
       string fieldName,
       PdfAttachmentFolder folder,
       DateTime value
    )
    public: void SetDataAsDate( 
       string* fieldName,
       PdfAttachmentFolder* folder,
       DateTime value
    ) 
    public:
    void SetDataAsDate( 
       String^ fieldName,
       PdfAttachmentFolder^ folder,
       DateTime value
    ) 

    Parameters

    fieldName
    Name of the field (key of this dictionary).
    folder
    The attachment folder.
    value
    Data field value.
    Requirements

    Target Platforms: .NET Core 3; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also