ObjVerExHasPropertyFlag(MFIdentifier, Boolean) Method

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

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public bool HasPropertyFlag(
	MFIdentifier prop,
	bool defaultValue = false
)

Parameters

prop  MFIdentifier
A reference to the PropertyDef.
defaultValue  Boolean  (Optional)
The value to return, if no value is explicitly set.

Return Value

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

See Also