Click or drag to resize

PropertyValueExtensionMethodsAddLookup Method

Adds a single lookup to a lookup property.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static bool AddLookup(
	this PropertyValue prop,
	int item,
	int version = -1
)

Parameters

prop
Type: PropertyValue
PropertyValue
item
Type: SystemInt32
Item
version (Optional)
Type: SystemInt32
Version

Return Value

Type: Boolean
A flag indicating a change

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PropertyValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also