MFPropertyValuesBuilderSetLookup Method (Object, Int32, Int32) |
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.3.623.2
Syntaxpublic MFPropertyValuesBuilder SetLookup(
Object prop,
int item,
int version = -1
)
Public Function SetLookup (
prop As Object,
item As Integer,
Optional version As Integer = -1
) As MFPropertyValuesBuilder
public:
MFPropertyValuesBuilder^ SetLookup(
Object^ prop,
int item,
int version = -1
)
Parameters
- prop
- Type: SystemObject
A reference to the propertyDef of the PropertyValue. - item
- Type: SystemInt32
A reference to the item to set to the propertyValue - version (Optional)
- Type: SystemInt32
The version that the lookup should reference.
Return Value
Type:
MFPropertyValuesBuilderThe MFPropertyValuesBuilder object - for chaining.
See Also