Click or drag to resize

IFileTryGetContentVersion Method

Tries the get a specific content version.

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#
bool TryGetContentVersion(
	long version,
	out ContentVersion sVersion
)

Parameters

version
Type: SystemInt64
The version number. A value < 0 specifies the latest version.
sVersion
Type: PDTec.IceNet.Core.Model.FileContentVersion
The content version.

Return Value

Type: Boolean
true if the file contains a content version with this version number; otherwise, false.
See Also