共用方式為


Url.JoinSegments Method

Joins the specified segments into a path.

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 Function JoinSegments ( _
    i As Integer, _
    j As Integer _
) As String
'用途
Dim instance As Url
Dim i As Integer
Dim j As Integer
Dim returnValue As String

returnValue = instance.JoinSegments(i, _
    j)
public string JoinSegments(
    int i,
    int j
)
public:
String^ JoinSegments(
    int i, 
    int j
)
member JoinSegments : 
        i:int * 
        j:int -> string 
public function JoinSegments(
    i : int, 
    j : int
) : String

Parameters

  • j
    Type: System.Int32
    The index of the Segments array at which to stop adding segments to the path.

Return Value

Type: System.String
The unescaped path, starting at segment i and not including segment j or higher.

.NET Framework Security

See Also

Reference

Url Class

Url Members

Microsoft.VisualStudio.Shell Namespace