Click or drag to resize

ObjVerExHasPropertyFlag Method (Object, Boolean)

Checks whether an object has a specific boolean property and it is true.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
public bool HasPropertyFlag(
	Object prop,
	bool defaultValue = false


Type: SystemObject
A reference to the PropertyDef.
defaultValue (Optional)
Type: SystemBoolean
The value to return, if no value is explicitly set.

Return Value

Type: Boolean
Returns the defaultValue if the property was not found, if it was not boolean, or was not set to true.
See Also