Url Constructor (Url, String)
Initializes a new instance of Url that is based on the specified base Url and relative path.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
baseUrl As Url, _
relpath As String _
)
public Url(
Url baseUrl,
string relpath
)
public:
Url(
Url^ baseUrl,
String^ relpath
)
new :
baseUrl:Url *
relpath:string -> Url
public function Url(
baseUrl : Url,
relpath : String
)
Parameters
baseUrl
Type: Microsoft.VisualStudio.Shell.UrlThe base Url.
relpath
Type: StringThe relative path.
Remarks
If relpath is nulla null reference (Nothing in Visual Basic), this constructor returns the base Url. If baseUrl has a null Uri, then it makes a Url from relpath.
.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.