Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Msg
Attachment Class
Attachment Constructor
Attachment Constructor
Attachment Constructor (String)
Attachment Constructor (String, Byte[])
Attachment Constructor (String, Stream)

# Attachment Constructor (String, Byte )

Initializes a new instance of the Attachment class based on the supplied byte array.

Namespace: Independentsoft.Msg
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public Attachment(
    	string fileName,
    	byte[] buffer
    )

    Public Sub New (
    	fileName As String,
    	buffer As Byte()
    )

#### Parameters

fileName
  Type: System
  String
  Attachment file name.
buffer
  Type:
  System
  Byte
  A byte array.

See Also

#### Reference

Attachment Class
Attachment Overload
Independentsoft.Msg Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de