ActiveReports 9
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FileStreamProvider Class
FileStreamProvider Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum