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.3.623.2
Syntaxpublic bool HasPropertyFlag(
MFIdentifier prop,
bool defaultValue = false
)
Public Function HasPropertyFlag (
prop As MFIdentifier,
Optional defaultValue As Boolean = false
) As Boolean
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