Click or drag to resize

IFileWriteContent Method

Stores binary file content as the most current version of the file object.

Namespace:  PDTec.IceNet.Core.Model.File
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
ContentVersion WriteContent(
	bool newVersion,
	string description,
	string vaultName,
	string filename,
	byte[] aContent
)

Parameters

newVersion
Type: SystemBoolean
Indicates if a new version is to be created.
description
Type: SystemString
The content version description.
vaultName
Type: SystemString
The target vault. Only relevant if a new version is to be created.
filename
Type: SystemString
The filename (without path) that is to be stored with the content.
aContent
Type: SystemByte
The binary content.

Return Value

Type: ContentVersion
The content version information.
See Also