MFPropertyValuesBuilderSetLookup(Object, ObjVer, Boolean) Method
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.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public MFPropertyValuesBuilder SetLookup(
Object prop,
ObjVer item,
bool exactVersion = false
)
- prop Object
- A reference to the propertyDef of the PropertyValue.
- item ObjVer
- A reference to the item to set 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..
MFPropertyValuesBuilderThe MFPropertyValuesBuilder object - for chaining.