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
Document doc = tab.MainDocument;
            
string domain = doc.MainDomain;
PHPCopy Code
$doc = $tab->MainDocument;
            
$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

© 2012 All Rights Reserved.