set_fragment


Description:

[ Version ( since = "1.6" ) ]
public bool set_fragment (string? fragment)

Sets the fragment string in the URI.

Use a value of null in fragment to unset the fragment string.

Parameters:

this

The Uri to modify.

fragment

The fragment string to set.

Returns:

true if the fragment was set/unset successfully.