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
CyberItemobject.
defaultName- A pointer to the default display name for the
CyberItemobject.
defaultNameScript- The script code of the name specified by
defaultName.DISCUSSION
If the value of thedefaultNameparameter 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, passingkCDDefaultNamefor 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
TheCDStringPropertytype (page 174).
TheGetStringPropertymethod (page 237).
 
  
  
 