Url::Segments Property

 

Gets an array of the segments of the URL.

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

public:
property array<String^>^ Segments {
	array<String^>^ get();
}

Property Value

Type: array<System::String^>^

An array of the segments of the URL.

This method works on both absolute and relative paths, and the returned segments have the path separator stripped out. It also strips "http:" and the hostname from the path.

Return to top
Show: