Difference between revisions of "CAObject::SetAttribute"
(Marked this version for translation) |
|||
Line 3: | Line 3: | ||
<languages /> | <languages /> | ||
<translate> | <translate> | ||
− | = [[CAObject]]::SetAttribute( att,attValue ) = | + | = [[CAObject]]::SetAttribute( att,attValue ) = <!--T:1--> |
− | == Description == | + | == Description == <!--T:2--> |
+ | <!--T:3--> | ||
Sets the value of the indicated attribute, «att», to «attValue». | Sets the value of the indicated attribute, «att», to «attValue». | ||
− | == Example == | + | == Example == <!--T:4--> |
+ | <!--T:5--> | ||
<code> | <code> | ||
:ade.[[CAEngine::GetObjectByName|GetObjectByName]]("X").SetAtribute("Definition","Min([A,B])") | :ade.[[CAEngine::GetObjectByName|GetObjectByName]]("X").SetAtribute("Definition","Min([A,B])") | ||
</code> | </code> | ||
− | == [[ErrorCode]]s == | + | == [[ErrorCode]]s == <!--T:6--> |
− | == See Also == | + | == See Also == <!--T:7--> |
+ | <!--T:8--> | ||
* [[CAObject::GetAttribute]] | * [[CAObject::GetAttribute]] | ||
* [[CAObject::DefTable]] | * [[CAObject::DefTable]] | ||
* [[CAObject::CreateDefTable]] | * [[CAObject::CreateDefTable]] | ||
</translate> | </translate> |
Latest revision as of 00:45, 16 June 2015
ADE User Guide > ADE Server Class Reference > CAObject
CAObject::SetAttribute( att,attValue )
Description
Sets the value of the indicated attribute, «att», to «attValue».
Example
- ade.GetObjectByName("X").SetAtribute("Definition","Min([A,B])")
ErrorCodes
See Also
Comments
Enable comment auto-refresher