IODBObjectSetAttribute(FeatureAttributeEnum, String, 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.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public bool SetAttribute(
FeatureAttributeEnum FeatureAttribute,
string Value,
bool AddUndo = false
)
Public Function SetAttribute (
FeatureAttribute As FeatureAttributeEnum,
Value As String,
Optional AddUndo As Boolean = false
) As Boolean
public:
virtual bool SetAttribute(
FeatureAttributeEnum FeatureAttribute,
String^ Value,
bool AddUndo = false
) sealed
abstract SetAttribute :
FeatureAttribute : FeatureAttributeEnum *
Value : string *
?AddUndo : bool
(* Defaults:
let _AddUndo = defaultArg AddUndo false
*)
-> bool
override SetAttribute :
FeatureAttribute : FeatureAttributeEnum *
Value : string *
?AddUndo : bool
(* Defaults:
let _AddUndo = defaultArg AddUndo false
*)
-> bool
- FeatureAttribute FeatureAttributeEnum
- Type of new attribute.
- Value String
- 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)
-
BooleanInterfaceODBObjectSetAttribute(FeatureAttributeEnum, String, Boolean)