Skip to main content

WmsCustomParameterCollection.Remove(String) Method

Removes the parameter with the specified key from the WmsCustomParameterCollection.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public void Remove(
    string key
)

Parameters

Name Type Description
key String

The key of the parameter that is removed.

Remarks

The following code removes the parameter with the format key:

 <dxm:WmsDataProvider x:Name="WmsDataProvider1"
                      ServerUri="http://INSERT_YOUR_SERVER_URI"
                      ActiveLayerName="Layer_OSM"/>
WmsDataProvider1.CustomParameters.Add("format", "Image / jpeg");
WmsDataProvider1.CustomParameters.Add("ver", "3.24");
//...
WmsDataProvider1.CustomParameters.Remove("format");
See Also