Click or drag to resize
AttachmentHistoryExtensions.InVersionExceptVariants Method
Filters attachment histories to get only those which do not represent variants for given version history ID.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static ObjectQuery<AttachmentHistoryInfo> InVersionExceptVariants(
	this ObjectQuery<AttachmentHistoryInfo> query,
	int versionHistoryId
)

Parameters

query
Type: CMS.DataEngine.ObjectQuery<AttachmentHistoryInfo>
Query for retrieving attachment histories.
versionHistoryId
Type: System.Int32
Version history ID.

Return Value

Type: ObjectQuery<AttachmentHistoryInfo>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ObjectQuery<AttachmentHistoryInfo>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also