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



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

    Parameters

    fieldName
    Name of the field (key of this dictionary).
    folder
    The attachment folder.
    value
    Data field value.
    Exceptions
    ExceptionDescription
    Thrown if field data type is not: Date or String or Number.
    Requirements

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

    See Also