Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Uri.IsDefaultPort Property

Gets a value indicating whether the port value of the URI is the default for this scheme.

[Visual Basic]
Public ReadOnly Property IsDefaultPort As Boolean
public bool IsDefaultPort {get;}
public: __property bool get_IsDefaultPort();
public function get IsDefaultPort() : Boolean;

Property Value

true if the value in the Port property is the default port for this scheme; otherwise, false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Uri Class | Uri Members | System Namespace

© 2017 Microsoft