OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / OrderBase.FileAttachmentBase Class / OrderBase.FileAttachmentBase Constructor



In This Topic
    OrderBase.FileAttachmentBase Constructor
    In This Topic
    Initializes a new OrderBase.FileAttachmentBase object.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal fileName As String, _
       ByVal contents() As Byte _
    )
    'Usage
     
    
    Dim fileName As String
    Dim contents() As Byte
     
    Dim instance As New OrderBase.FileAttachmentBase(fileName, contents)
    public OrderBase.FileAttachmentBase( 
       string fileName,
       byte[] contents
    )
    public:
    OrderBase.FileAttachmentBase( 
       String^ fileName,
       array<byte>^ contents
    )

    Parameters

    fileName
    contents
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also