STK Vector Geometry ToolSend comments on this topic.
Remove Method (IAgCrdnEventIntervalCollectionGroup)
See Also
EventName
Specify a name of an element to be removed.
Windows





Windows & Linux

Description

Removes a specified element.

Syntax

[Visual Basic .NET]
Public Sub Remove( _
    ByVal EventName As String _
)
[C#]
public void Remove(
    string EventName
);
[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

EventName
Specify a name of an element to be removed.

See Also

Example

Remove an existing event interval collection with the specified name.
[C#]
// Check if the event interval collection with specified name exists
if (provider.EventIntervalCollections.Contains("EventIntervalCollectionName"))
{
    provider.EventIntervalCollections.Remove("EventIntervalCollectionName");
}
Remove an existing event interval collection with the specified name.
[Visual Basic .NET]
' Check if the event interval collection with specified name exists
If provider.EventIntervalCollections.Contains("EventIntervalCollectionName") Then
	provider.EventIntervalCollections.Remove("EventIntervalCollectionName")
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.