Topic Path: Symbol Reference > Classes > TIdURI Class > TIdURI Methods > Create Constructor
ContentsIndexHome
PreviousUpNext
TIdURI.Create Constructor

Constructor for the object instance.

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');
Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.