Click or drag to resize

MFPropertyValuesBuilderSetLookup Method (MFIdentifier, ObjVer, Boolean)

Sets a property to contain one lookup value. Creating it if it doesn't already exist. Works on both SSLU and MSLU, and optionally allows the specific version to be specified.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public MFPropertyValuesBuilder SetLookup(
	MFIdentifier prop,
	ObjVer item,
	bool exactVersion = false
)

Parameters

prop
Type: MFiles.VAF.ConfigurationMFIdentifier
A reference to the propertyDef of the PropertyValue.
item
Type: ObjVer
A reference to the item to set to the propertyValue
exactVersion (Optional)
Type: SystemBoolean
Indicates whether the exact version of the item should be used or if -1 (latest) should be used as the version..

Return Value

Type: MFPropertyValuesBuilder
The MFPropertyValuesBuilder object - for chaining.
See Also