Click or drag to resize

LookupExtensionMethodsToLatestObjVer Method

Converts a Lookup to the latest ObjVer.

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

Parameters

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

Return Value

Type: 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