PropertyValueExtensionMethodsAddLookup Method |
Adds a single lookup to a lookup property.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static bool AddLookup(
this PropertyValue prop,
int item,
int version = -1
)
<ExtensionAttribute>
Public Shared Function AddLookup (
prop As PropertyValue,
item As Integer,
Optional version As Integer = -1
) As Boolean
public:
[ExtensionAttribute]
static bool AddLookup(
PropertyValue^ prop,
int item,
int version = -1
)
Parameters
- prop
- Type: PropertyValue
PropertyValue - item
- Type: SystemInt32
Item - version (Optional)
- Type: SystemInt32
Version
Return Value
Type:
BooleanA 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