Description
Removes an element by name.
Syntax
Parameters
See Also
Example
Remove an existing event interval with the specified name.
[C#] |
---|
// Check if the event interval with specified name exists
if (provider.EventIntervals.Contains("EventIntervalName"))
{
provider.EventIntervals.Remove("EventIntervalName");
}
|
|
Remove an existing event interval with the specified name.
[Visual Basic .NET] |
---|
' Check if the event interval with specified name exists
If provider.EventIntervals.Contains("EventIntervalName") Then
provider.EventIntervals.Remove("EventIntervalName")
End If
|
|