ZennoLab Assemblies Documentation
MainDomain Property (Document)
Example 
ZennoLab.CommandCenter Namespace > Document Class : MainDomain Property
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: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Document Class
Document Members
Domain Property