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
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  Microsoft.VisualStudio.Shell.Url

public class Url

NameDescription
System_CAPS_pubmethodUrl(String)

Initializes a new instance of Url for the specified path.

System_CAPS_pubmethodUrl(Url, String)

Initializes a new instance of Url that is based on the specified base Url and relative path.

NameDescription
System_CAPS_pubpropertyAbsoluteUrl

Gets the absolute URL as a string.

System_CAPS_pubpropertyDirectory

Returns the unescaped absolute URL for the parent directory that contains the file that is referenced by this URL object.

System_CAPS_pubpropertyIsFile

Determines whether the URL represents a file (as opposed to an HTTP location).

System_CAPS_pubpropertySegments

Gets an array of the segments of the URL.

System_CAPS_pubpropertyUri

Gets the URI for this URL.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetPartial(Int32)

Gets the unescaped path up to the specified index.

System_CAPS_pubmethodGetPartial(Int32, Int32)

Gets the unescaped path between the two specified points

System_CAPS_pubmethodGetRemainder(Int32)

Gets the unescaped remainder of the path, starting at the specified segment.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodJoinSegments(Int32, Int32)

Joins the specified segments into a path.

System_CAPS_pubmethodMakeRelative(Url)

Makes the specified Url relative with respect to the current one.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMove(Url, Url)

Moves the URL from the old base to the new one.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticUnescape(String, Boolean)

Converts an escaped string to an unescaped string.

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

Return to top
Show: