Compartir a través de


Url Constructor (String)

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

'Declaración
Public Sub New ( _
    path As String _
)
'Uso
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

Remarks

This method first tries to create an absolute Uri. If it cannot, it tries to create a relative Uri.

.NET Framework Security

See Also

Reference

Url Class

Url Members

Url Overload

Microsoft.VisualStudio.Shell Namespace