Url.GetPartial Method

Definition

Overloads

GetPartial(Int32)

Gets the unescaped path up to the specified index.

GetPartial(Int32, Int32)

Gets the unescaped path between the two specified points

GetPartial(Int32)

Gets the unescaped path up to the specified index.

public:
 System::String ^ GetPartial(int i);
public:
 Platform::String ^ GetPartial(int i);
std::wstring GetPartial(int i);
public string GetPartial (int i);
member this.GetPartial : int -> string
Public Function GetPartial (i As Integer) As String

Parameters

i
Int32

The index of the Segments array up to which to get the path.

Returns

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.

Applies to

GetPartial(Int32, Int32)

Gets the unescaped path between the two specified points

public:
 System::String ^ GetPartial(int i, int j);
public:
 Platform::String ^ GetPartial(int i, int j);
std::wstring GetPartial(int i, int j);
public string GetPartial (int i, int j);
member this.GetPartial : int * int -> string
Public Function GetPartial (i As Integer, j As Integer) As String

Parameters

i
Int32

The start point.

j
Int32

The end point.

Returns

The unescaped path.

Applies to