| |
URI info: LocalPath, PathAndQuery, Port, Query, Scheme |
|
|
Imports System.IO
Imports System.Net
Imports System.Text
public class MainClass
Shared Sub Main()
Dim uri As New Uri("http://www.java2java.com/index.htm")
Console.WriteLine("LocalPath: " & uri.LocalPath )
Console.WriteLine("PathAndQuery: " & uri.PathAndQuery )
Console.WriteLine("Port: " & uri.Port )
Console.WriteLine("Query: " & uri.Query )
Console.WriteLine("Scheme: " & uri.Scheme)
End Sub
End Class
|
|
|
Related examples in the same category |
|