Gets the current domain of the document.
Syntax
| C# | |
|---|
public string Domain {get;} |
Property Value
Type: System.String
A string that contains the current domain.
Example
The following code example uses the
Domain property.
| C# | Copy Code |
|---|
// get document
Document doc = tab.MainDocument;
// get domain
string domain = doc.Domain; |
| PHP | Copy Code |
|---|
// get document
$doc = $tab->MainDocument;
// get domain
$domain = $doc->Domain; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also