Compartir a través de


Url Constructor (String)

Initializes a new instance of Url for the specified path.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    path As String _
)
public Url(
    string path
)
public:
Url(
    String^ path
)
new : 
        path:string -> Url
public function Url(
    path : String
)

Parameters

  • path
    Type: 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

See Also

Reference

Url Class

Url Overload

Microsoft.VisualStudio.Shell Namespace