PropertyValuesExtensionMethods Class

Provides convenience extension methods for the PropertyValues collection.

Definition

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

Methods

AddLookup(PropertyValues, Int32, ObjVer, Boolean) Adds the item to the specified multiselectlookup property.
AddLookup(PropertyValues, Int32, Int32, Int32) Adds the item to the specified multiselectlookup property.
Exists Checks whether an object has a specific property.
GetProperty Returns the specified object property if found.
HasFlag Checks whether an object has a specific boolean property and it is true.
HasValue Checks whether an object has a specific property and its value is not null.
InsertLookup Inserts the item into the specified multi-select lookup property. Preserving existing lookups in that property.
RemoveLookup Removes the item from the specified multiselectlookup property.
RemoveProperty Removes the specified property from the property values collection.
SetProperty(PropertyValues, PropertyValue) Adds or updates the specificed property in the property values collection.
SetProperty(PropertyValues, Int32, TypedValue) Adds or updates the specificed property in the property values collection with the passed value
SetProperty(PropertyValues, Int32, MFDataType, Object) Adds or updates the specificed property in the property values collection with the passed value.
ToStringEx Returns a string representation of the property values. For debugging.
TryGetProperty Tries to retreive the specified property value from the collection.

See Also