ActiveReports 8
CreateSecondaryStream Method (FileStreamProvider)

a string value in the name for the secondary stream. The relative name is appended to the file name prefix
a string value indicating the mime type for the primary stream.
a string value indicating the file extension to use for the primary stream.
Creates a secondary stream in the stream provider.
Syntax
'Declaration
 
Public Overrides Function CreateSecondaryStream( _
   ByVal relativeName As System.String, _
   ByVal mimeType As System.String, _
   ByVal fileExtension As System.String _
) As StreamInfo
public override StreamInfo CreateSecondaryStream( 
   System.string relativeName,
   System.string mimeType,
   System.string fileExtension
)

Parameters

relativeName
a string value in the name for the secondary stream. The relative name is appended to the file name prefix
mimeType
a string value indicating the mime type for the primary stream.
fileExtension
a string value indicating the file extension to use for the primary stream.

Return Value

Exceptions
ExceptionDescription
System.InvalidOperationExceptionThrown if the file extension is not specified.
See Also

Reference

FileStreamProvider Class
FileStreamProvider Members

Support Forum