ZennoLab Assemblies Documentation
MainDomain Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Document Class : MainDomain Property

Glossary Item Box

Gets the current main domain of the document.

Syntax

C# 
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.
C#Copy Code
// get document
Document doc = tab.MainDocument;
 
// get the main domain
string domain = doc.MainDomain;
PHPCopy Code
// 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

See Also

© 2013 All Rights Reserved.