MapMatrix NetGIS Class Library

Command.GetLocalLayer Method 

Finds the LayerList or Layer object matching the Unique Id from the Layers collection This results are for the Active Connection (SetActiveConnection).

public object GetLocalLayer(
   string LayerId
);

Parameters

LayerId
Unique Id of the layer to get

Return Value

A reference to the object if a match is found, otherwise null

See Also

Command Class | MapMatrix.MapControls Namespace