Description
Removes a specified element.
Syntax
| [Visual Basic .NET] |
|---|
Public Sub Remove( _
ByVal EventName As String _
)
|
| [Managed C++] |
|---|
public: void Remove(
String __gc ^ EventName
);
|
| [Unmanaged C++] |
|---|
public: HRESULT Remove(
BSTR EventName
);
|
| [Java] |
|---|
public void remove(
String EventName
);
|
[Python - STK API ] |
|---|
def Remove(self, EventName:str) -> None:
|
Parameters
See Also
Example
Remove an existing event with the specified name.
| [C#] |
|---|
// Check if the event with specified name exists
if (provider.Events.Contains("EventName"))
{
provider.Events.Remove("EventName");
}
|
|
Remove an existing event with the specified name.
| [Visual Basic .NET] |
|---|
' Check if the event with specified name exists
If provider.Events.Contains("EventName") Then
provider.Events.Remove("EventName")
End If
|
|