Important: The information in this document is obsolete and should not be used for new development.
GetStringProperty
Retrieves a string property for this Cyberdog item.
void GetStringProperty (in CDStringProperty property, in StringPtr theString, out ScriptCode script);
property
- The string property to be retrieved.
theString
- A pointer to a string buffer. On return, the buffer contains the requested string.
script
- The script code of the returned string.
DISCUSSION
Each Cyberdog item has a set of strings that describe its properties. This method should return one of those strings, depending on the value of theproperty
parameter. The default name property is the most important of these; it is the name of the Cyberdog item that is displayed to the user.If you subclass
CyberItem
, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheCDStringProperty
type (page 174).
TheSetDefaultName
method (page 243).