AGI STK VGT 11Send comments on this topic.
Remove Method (IAgCrdnEventIntervalListGroup)
See Also  Example
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
);
[Java]
public  remove(
   String EventName
);
[Unmanaged C++]
public: HRESULT Remove(
   BSTR EventName
);

Parameters

EventName
Specify a name of an element to be removed.

Example

Remove an existing event interval list with the specified name.
[C#]Copy Code
// Check if the event interval list with specified name exists 
if (provider.EventIntervalLists.Contains("EventIntervalListName")) 

    provider.EventIntervalLists.Remove("EventIntervalListName"); 

 

Remove an existing event interval list with the specified name.
[Visual Basic .NET]Copy Code
' Check if the event interval list with specified name exists
If provider.EventIntervalLists.Contains("EventIntervalListName") Then
    provider.EventIntervalLists.Remove("EventIntervalListName")
End If

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.