Click or drag to resize

PropertiesSetAttr Method

Set 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 ORed into the existing value. If the property does not already exist then it is created and the value set to the provided attr bits. You can use IsAttrSet(String, Enum) to determine if one or more attribute bits are set. 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 int SetAttr(
	string name,
	Enum attr
)

Parameters

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

Return Value

Type: Int32
The new value of the attribute.
See Also