Initializes a new instance of Url for the specified path.
Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Public Sub New ( _
    path As String _
)
用法
Dim path As String
Dim instance As New Url(path)
public Url(
    string path
)
public:
Url(
    String^ path
)
new : 
        path:string -> Url
public function Url(
    path : String
)
Parameters
- path
 Type: System.String
 The path for which to create the URL.
Remarks
This method first tries to create an absolute Uri. If it cannot, it tries to create a relative Uri.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.