Share via


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
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 ( _
    baseUrl As Url, _
    relpath As String _
)
‘사용 방법
Dim baseUrl As Url
Dim relpath As String

Dim instance As New Url(baseUrl, _
    relpath)
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

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

See Also

Reference

Url Class

Url Members

Url Overload

Microsoft.VisualStudio.Shell Namespace