set_restriction


Description:

public void set_restriction (string? restriction)

Sets the restriction property of the YouTubeQuery to the new restriction string, restriction.

Set restriction to null to unset the property in the query URI.

Parameters:

this

a YouTubeQuery

restriction

a new restriction string, or null