The following code example uses the URL property.
| C# | Copy Code |
|---|---|
// get document Document doc = tab.MainDocument; // get the url string url = doc.URL; | |
| PHP | Copy Code |
|---|---|
// get document $doc = $tab->MainDocument; // get the url $url = $doc->URL; | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family