Url Constructor (String)
Initializes a new instance of Url for the specified path.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Sub New ( _
path As String _
)
public Url(
string path
)
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.