ObjVerExHasPropertyFlag(MFIdentifier, Boolean) Method
Checks whether an object has a specific boolean property and it is true.
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public bool HasPropertyFlag(
MFIdentifier prop,
bool defaultValue = false
)
- prop MFIdentifier
- A reference to the PropertyDef.
- defaultValue Boolean (Optional)
- The value to return, if no value is explicitly set.
Boolean
Returns the defaultValue if the property was not found,
if it was not boolean, or was not set to true.