共用方式為


Url Class

Wraps the Uri class. Provides an unescaped version of LocalPath for file URL types and AbsoluteUri for HTTP URL types. Also returns an unescaped result from MakeRelativeUri so that it can be presented to the user.

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 Class Url
'用途
Dim instance As Url
public class Url
public ref class Url
type Url =  class end
public class Url

Remarks

The implementations of ProjectNode and FileNode both use Url.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Url

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Url Members

Microsoft.VisualStudio.Shell Namespace