PropertiesClearAttr Method |
Clears the specified attribute (or multiple attribute bits 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.
If the property already exists then the provided attr bits are cleared from the existing value (using a bit-wise AND of the complement).
If the property does not already exist then it is NOT added.
You can use
IsAttrSet(String, Enum) to determine if one or more attribute bits are set.
Use
SetAttr(String, Enum) to set a bit or bits.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public int ClearAttr(
string name,
Enum attr
)
Public Function ClearAttr (
name As String,
attr As Enum
) As Integer
Parameters
- name
- Type: SystemString
The property name. - attr
- Type: SystemEnum
The attribute bit (or bits) to clear.
Return Value
Type:
Int32The new value of the attribute.
See Also