get_num_priorities


Description:

public int32 get_num_priorities (VlanPriorityMap map)

Returns the number of entries in the NMSettingVlan:ingress_priority_map or NMSettingVlan:egress_priority_map properties of this setting.

Parameters:

this

the SettingVlan

map

the type of priority map

Returns:

return the number of ingress/egress priority entries, -1 if error