set_priority


Description:

[ Version ( since = "3.0" ) ]
public void set_priority (int priority)

Sets the priority of a file handler procedure.

When more than one procedure matches a given file, the procedure with the lowest priority is used; if more than one procedure has the lowest priority, it is unspecified which one of them is used. The default priority for file handler procedures is 0.

Parameters:

this

A file procedure object.

priority

The procedure's priority.