Public Function Remove(ByVal name As String) As Boolean
public System.Boolean Remove(System.String name)
The Remove method removes the specifed parameter from the ParameterCollection. If the specified parameter does not exist in the collection, a GeoCalcException will be thrown.
Private Sub GeoCalcNET_ParameterCollection_Remove(ByVal pc As GeoCalcNET.ParameterCollection)
Dim name As String = "the name of the desired parameter"
If pc.Exists(name) Then
If Not pc.Remove(name) Then
MessageBox.Show("unable to remove specified parameter")
End If
End If
End Sub
private void GeoCalcNET_ParameterCollection_Remove(GeoCalcNET.ParameterCollection pc)
{
String name = "maude";
if(pc.Exists(name))
{
if(! pc.Remove(name))
{
MessageBox.Show("unable to remove parameter");
}
}
}