VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.FileAttachments Namespace / PdfAttachmentCollectionSchema Class / SetDataField Methods / SetDataField(String,PdfAttachmentFolder,PdfAttachmentDataField) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetDataField(String,PdfAttachmentFolder,PdfAttachmentDataField) Method (PdfAttachmentCollectionSchema)
    In This Topic
    Sets the data field for schema field with specified name.
    Syntax
    'Declaration
    
    Public Overloads Sub SetDataField( _
    ByVal fieldName
    Name of the field (key of this dictionary).
    As System.String, _
    ByVal folder
    The attachment folder.
    As PdfAttachmentFolder, _
    ByVal value
    Data field value.
    As PdfAttachmentDataField _
    )
    public void SetDataField(
    System.String fieldName,
    PdfAttachmentFolder folder,
    PdfAttachmentDataField value
    )
    public: void SetDataField(
    System.String fieldName,
    PdfAttachmentFolder* folder,
    PdfAttachmentDataField* value
    )
    public:
    void SetDataField(
    System.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 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also