Click or drag to resize
IFileConnectContent Method
Connects an existing file content as the most current version to the file object.

Namespace: PDTec.IceNet.Core.Model.File
Assembly: PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
ContentVersion ConnectContent(
	bool newVersion,
	string description,
	string filename,
	string contentUuid
)

Parameters

newVersion
Type: SystemBoolean
Indicates if a new version ist to be created.
description
Type: SystemString
The content version description.
filename
Type: SystemString
The filename (without path) that is to be stored with the content.
contentUuid
Type: SystemString
The UUID of the file content that should be connected as a content version.

Return Value

Type: ContentVersion
The content version information.
See Also