Cuemon .NET Framework
Parse(String,UriKind) Method

A string containing the URI to convert.
The type of the URI.
Converts the specified string representation of an URI value to its System.Uri equivalent, limited to what is specified in the %% parameter.
Public Overloads Shared Function Parse( _
   ByVal uriString As String, _
   ByVal uriKind As UriKind _
) As Uri
public static Uri Parse( 
   string uriString,
   UriKind uriKind


A string containing the URI to convert.
The type of the URI.

Return Value

An System.Uri that is equivalent to the value contained in uriString.
System.ArgumentNullExceptionuriString is null.
ArgumentEmptyExceptionuriString is empty.

Target Platforms: Windows 8, Windows Server 2012, 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


UriUtility Class
UriUtility Members
Overload List



| Cuemon is licensed under a The MIT License (MIT)

© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback