Port Property
See Also 
SourceCode.Net.Dns Namespace > ServerRecord Structure : Port Property



Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Property Port As UShort
Visual Basic (Usage) Copy Code
Dim instance As ServerRecord
Dim value As UShort
 
instance.Port = value
 
value = instance.Port
C#  
public ushort Port {get; set;}
C++/CLI  
public:
property ushort Port {
   ushort get();
   void set (    ushort value);
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also