MFPropertyValuesBuilderSetLookup(Object, Int32, Int32) 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.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public MFPropertyValuesBuilder SetLookup(
	Object prop,
	int item,
	int version = -1


prop  Object
A reference to the propertyDef of the PropertyValue.
item  Int32
A reference to the item to set to the propertyValue
version  Int32  (Optional)
The version that the lookup should reference.

Return Value

The MFPropertyValuesBuilder object - for chaining.

See Also