LookupExtensionMethodsToLatestObjVer Method

Converts a Lookup to the latest ObjVer.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static ObjVer ToLatestObjVer(
	this Lookup l,
	Vault vault,
	bool allowCheckedOut = true,
	bool updateFromServer = false
)

Parameters

l  Lookup
Lookup to convert
vault  Vault
Vault Reference
allowCheckedOut  Boolean  (Optional)
Allow checked out object resolution?
updateFromServer  Boolean  (Optional)
Update from server?

Return Value

ObjVer
The latest version ObjVer.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Lookup. 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