Click or drag to resize

PropertiesIsAttrSet Method

Determines if the specified attribute is set (or any of the specified attributes are set if the attr value includes multiple attribute bits) in the specified property. The property is assumed to be an int (presumably representing an enumeration) defaulting to zero if not found. You can use SetAttr(String, Enum) to set one or more attribute bits. Use ClearAttr(String, Enum) to clear a bit or bits.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool IsAttrSet(
	string name,
	Enum attr
)

Parameters

name
Type: SystemString
The property name.
attr
Type: SystemEnum
The attribute bit (or bits) to check.

Return Value

Type: Boolean
True if the property exists and the specified attribute bit (or any of the specified bits) is set.
See Also