Internet Direct (Indy)
Home
PreviousUpNext
TIdURI.Create Constructor

Constructor for the object instance.

Pascal
constructor Create(
    const AURI: string = ''
); virtual;
Parameters 
Description 
AURI 
Universal Resource Identifier represented by the object instance. Default value is ''. 

Create is the constructor for the object instance. Create calls the inherited Create method. AURI is an optional String that specifies the Protocol, Host, Port, Path, Document, and Bookmark for the resource. 

When AURI contains a non-blank value, the value is assigned to the URI property, and causes the component portions of the URI to be parsed into their corresponding object properties.

   AUri := TIdURI.Create('http://www.myhomepage.com/username/index.html');
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.