Get the content of a specific version file

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
Stream GetVersionContent(
	IFileInfo file,
	int version
)
Visual Basic
Function GetVersionContent ( 
	file As IFileInfo,
	version As Integer
) As Stream

Parameters

file
Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file to get the version
version
Type: System..::..Int32
The version to obtain the content

Return Value

The Stream with the file content

See Also