共用方式為


Url.GetPartial Method (Int32)

Gets the unescaped path up to the specified index.

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

returnValue = instance.GetPartial(i)
public string GetPartial(
    int i
)
public:
String^ GetPartial(
    int i
)
member GetPartial : 
        i:int -> string 
public function GetPartial(
    i : int
) : String

Parameters

Return Value

Type: System.String
The unescaped path up to the specified index of the Segments array.

Remarks

If the URL is not a file URL, "http:" and the host name to the path are pre-pended.

.NET Framework Security

See Also

Reference

Url Class

Url Members

GetPartial Overload

Microsoft.VisualStudio.Shell Namespace