MapSuiteGisEditor/WpfDesktopExtension/Shares/MapEngine.cs
/// <summary>
/// Find the feature layer by key (specified in the "name" parameter) within the collection of
/// DynamicLayers.
/// </summary>
/// <returns>The corresponding FeatureLayer with the specified key in the MapControl.</returns>
/// <param name="name">The key to find the final result feature layer.</param>
Find the feature layer by key (specified in the "name" parameter) within the collection of
DynamicLayers.
Find the feature layer by key ( specified in the " name " parameter ) within the collection of DynamicLayers .
public FeatureLayer FindDynamicFeatureLayer(string name)
        {
            FeatureLayer featureLayer = null;
            if (dynamicLayers.Contains(name))
            {
                featureLayer = dynamicLayers[name] as FeatureLayer;
            }
            return featureLayer;
        }
public FeatureLayer FindDynamicFeatureLayer ( string name ) { FeatureLayer featureLayer = null ; if ( dynamicLayers . Contains ( name ) ) { featureLayer = dynamicLayers [ name ] as FeatureLayer ; } return featureLayer ; }
Find the feature layer by key (specified in the "name" parameter) within the collection of
DynamicLayers.
Find the feature layer by key ( specified in the " name " parameter ) within the collection of DynamicLayers .
The corresponding FeatureLayer with the specified key in the MapControl.
The corresponding FeatureLayer with the specified key in the MapControl .
name
string
The key to find the final result feature layer.
The key to find the final result feature layer .