PropertyValueExtensionMethods Class

Provides convenience extension methods for the PropertyValue objects.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static class PropertyValueExtensionMethods
Inheritance
Object    PropertyValueExtensionMethods

Methods

AddLookup Adds a single lookup to a lookup property.
ExpandPlaceholderText Returns a string with M-Files placeholders replaced with values.
GetValueT(PropertyValue) Get the value of property value and cast it to the specified type.
GetValueT(PropertyValue, T) Get the value of property value and cast it to the specified type.
IsEqual Checks if the property values are equal. If either of the property values is null, the values are treated as they were different.
RemoveLookup Removes the item from the specified lookup property.

See Also