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

Constructor for the object instance.

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