Version: 2017.1
public static string IDToName (int id);

Parameters

id The unique id of the layer.

Returns

string The name of the layer with id or "<unknown layer>" for invalid id.

Description

Returns the unique id of the layer. Will return "<unknown layer>" if an invalid id is given.