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,
	byte[] content
)
Visual Basic
Public Shared Sub UpdateFileContent ( 
	fileId As Integer,
	content As Byte()
)

Parameters

fileId
Type: System..::..Int32
The file identifier.
content
Type: array<System..::..Byte>[]()[][]
The new content.

See Also