Difference between revisions of "CAObject::Name"
(Created page with "<< Back to CAObject = property string Name = Contains the Identifier of the Analytica object. Assign to this property to rename the o...") |
(Marked this version for translation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[CAObject | + | [[Category:ADE User Guide]] |
+ | [[ADE User Guide]] > [[ADE Server Class Reference]] > [[CAObject]] | ||
+ | <languages /> | ||
+ | <translate> | ||
− | = property string Name = | + | = property string Name = <!--T:1--> |
+ | <!--T:2--> | ||
Contains the [[Identifier]] of the [[Objects and Values|Analytica object]]. Assign to this property to rename the object. | Contains the [[Identifier]] of the [[Objects and Values|Analytica object]]. Assign to this property to rename the object. | ||
− | == Data type == | + | == Data type == <!--T:3--> |
+ | <!--T:4--> | ||
string | string | ||
− | == Access == | + | == Access == <!--T:5--> |
+ | <!--T:6--> | ||
read/write | read/write | ||
− | == API Errors == | + | == API Errors == <!--T:7--> |
+ | <!--T:8--> | ||
Although properties in general do not change the [[CAEngine::ErrorCode|ErrorCode]] property of [[CAEngine]], assigning an invalid identifier to this property will result in the error: | Although properties in general do not change the [[CAEngine::ErrorCode|ErrorCode]] property of [[CAEngine]], assigning an invalid identifier to this property will result in the error: | ||
:41 - "Invalid name for object" | :41 - "Invalid name for object" | ||
− | = Usage = | + | = Usage = <!--T:9--> |
− | obj.Name = "NewName" | + | <!--T:10--> |
+ | obj.Name = "NewName" | ||
− | = See Also = | + | = See Also = <!--T:11--> |
+ | <!--T:12--> | ||
* [[CAObject::GetAttribute]] | * [[CAObject::GetAttribute]] | ||
* [[CAObject::SetAttribute]] | * [[CAObject::SetAttribute]] | ||
* [[CAEngine::ErrorCode]], [[CAEngine::ErrorText]] | * [[CAEngine::ErrorCode]], [[CAEngine::ErrorText]] | ||
+ | </translate> |
Latest revision as of 00:34, 16 June 2015
ADE User Guide > ADE Server Class Reference > CAObject
property string Name
Contains the Identifier of the Analytica object. Assign to this property to rename the object.
Data type
string
Access
read/write
API Errors
Although properties in general do not change the ErrorCode property of CAEngine, assigning an invalid identifier to this property will result in the error:
- 41 - "Invalid name for object"
Usage
obj.Name = "NewName"
See Also
Comments
Enable comment auto-refresher