Updates the content of the file in the database.

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

Syntax

C#
public static void UpdateFileContent(
	int fileId,
	Stream content
)
Visual Basic
Public Shared Sub UpdateFileContent ( 
	fileId As Integer,
	content As Stream
)

Parameters

fileId
Type: System..::..Int32
The file identifier.
content
Type: System.IO..::..Stream
The new content.

See Also