Click or drag to resize

ObjVerExHasPropertyFlag Method (Object, Boolean)

Note: This API is now obsolete.

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#
[ObsoleteAttribute("Use overload with MFIdentifier type parameter(s) instead.")]
public bool HasPropertyFlag(
	Object prop,
	bool defaultValue = false
)

Parameters

prop
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