Initializes a new instance of a LinkedResource
with the content of the specified file and with media type.
Namespace:
Rebex.Mail
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ fileName As String, _ mediaType As String _ ) |
C# |
---|
public LinkedResource( string fileName, string mediaType ) |
Parameters
- fileName
- Type: System..::..String
Path to the file to provide data for the resource.
- mediaType
- Type: System..::..String
A MIME media type of the file.