Important: The information in this document is obsolete and should not be used for new development.
SetUpFromURL
Initializes this Cyberdog item from a URL.
void SetUpFromURL (in char* url, in StringPtr defaultName, in ScriptCode defaultNameScript);
url
- A pointer to the URL to be parsed and incorporated into this
CyberItem
object.defaultName
- A pointer to the default display name for the
CyberItem
object.defaultNameScript
- The script code of the name specified by
defaultName
.DISCUSSION
If the value of thedefaultName
parameter iskODNULL
, the method should manufacture an appropriate default display name based on the URL.You can retrieve a Cyberdog item's default display name by calling
GetStringProperty
, passingkCDDefaultName
for the string property parameter.If you subclass
CyberItem
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheCDStringProperty
type (page 174).
TheGetStringProperty
method (page 237).