Gets the unescaped path up to the specified index.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
)
public function GetPartial(
i : int
) : String
Parameters
i
Type: System.Int32The index of the Segments array up to which to get the path.
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.
Permissions
- 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.