Uri.appendPathSegment

Append a single path segment onto the end of the URI path.

class Uri
bool
appendPathSegment
(
string pathSegment = null
)

Parameters

pathSegment string

The path segment string to append to the URI path.

Return Value

Type: bool

true if the path was appended successfully.