IODBObjectSetAttribute(FeatureAttributeEnum, Object, Boolean) Method

Set a new attribute for this IODBObject with definition for type and value. It can be a double, int, bool, enum (string of value) or string attribute.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public bool SetAttribute(
	FeatureAttributeEnum FeatureAttribute,
	Object Value,
	bool AddUndo = false
)

Parameters

FeatureAttribute  FeatureAttributeEnum
Type of new attribute.
Value  Object
depending on the type it should be a double value, int value, enum object or string. If the feature attribute is bool type it is always true.
AddUndo  Boolean  (Optional)
 

Return Value

Boolean

Implements

InterfaceODBObjectSetAttribute(FeatureAttributeEnum, Object, Boolean)

See Also