ZennoLab Assemblies Documentation
MainDomain Property (Document)
Example 
Gets the current main domain of the document.
Syntax
public string MainDomain {get;}

Property Value

Type: System.String

A string that contains the current main domain.

Example
The following code example uses the MainDomain property.
// get document
Document doc = tab.MainDocument;
 
// get the main domain
string domain = doc.MainDomain;
// get document
$doc = $tab->MainDocument;
 
// get the main domain
$domain = $doc->MainDomain;
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

Document Class
Document Members
Domain Property

Send Feedback