get_metric


Description:

public int64 get_metric ()

Gets the route metric property of this route object; lower values indicate "better" or more preferred routes; -1 indicates "default" (meaning NetworkManager will set it appropriately).

Parameters:

this

the IPRoute

Returns:

the route metric