MFPropertyValuesBuilderAddLookup(Object, ObjVer, Boolean) Method

Adds a lookup to the passed property value. Creating it if it doesn't already exist.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public MFPropertyValuesBuilder AddLookup(
	Object prop,
	ObjVer item,
	bool exactVersion = false
)

Parameters

prop  Object
A reference to the propertyDef of the PropertyValue.
item  ObjVer
A reference to the item to add to the propertyValue
exactVersion  Boolean  (Optional)
Indicates whether the exact version of the item should be used or if -1 (latest) should be used as the version..

Return Value

MFPropertyValuesBuilder
The MFPropertyValuesBuilder object - for chaining.

See Also