MapMatrix NetGIS Class Library

Command.GetKeys Method (String)

Gets an array of Keys for the Connections that have an ActiveLayer matching the provided Id. A key can be used to Set the Active Connection (SetActiveConnection). This is used if a user needs to change the connection that commands are defaulted to.

public string[] GetKeys(
   string LayerId
);

Parameters

LayerId
The LayerId to get connection keys for

Return Value

The string array of connecion keys

See Also

Command Class | MapMatrix.MapControls Namespace | Command.GetKeys Overload List