Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Gets an array of the segments of the URL.
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
'Dichiarazione
Public ReadOnly Property Segments As String()
Get
'Utilizzo
Dim instance As Url
Dim value As String()
value = instance.Segments
public string[] Segments { get; }
public:
property array<String^>^ Segments {
array<String^>^ get ();
}
member Segments : string[]
function get Segments () : String[]
Property Value
Type: array<System.String[]
An array of the segments of the URL.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.