Click or drag to resize

ObjVerExHasPropertyFlag Method (MFIdentifier, 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.1.0.1 (2.1.0.1)
Syntax
C#
public bool HasPropertyFlag(
	MFIdentifier prop,
	bool defaultValue = false
)

Parameters

prop
Type: MFiles.VAF.ConfigurationMFIdentifier
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