STK Vector Geometry ToolSend comments on this topic.
IsTypeSupported Method (IAgCrdnEventIntervalListFactory)
See Also
EType
Windows





Windows & Linux

Description

Returns whether the specified type is supported.

Syntax

[Visual Basic .NET]
Public Function IsTypeSupported( _
    ByVal EType As AgECrdnEventIntervalListType _
) As Boolean
[C#]
public bool IsTypeSupported(
    AgECrdnEventIntervalListType EType
);
[Managed C++]
public: bool IsTypeSupported(
    AgECrdnEventIntervalListType EType
);
[Unmanaged C++]
public: HRESULT IsTypeSupported(
    AgECrdnEventIntervalListType EType,
    VARIANT_BOOL * pRetVal
);
[Java]
public bool isTypeSupported(
    AgECrdnEventIntervalListType EType
);
[Python - STK API ]
def IsTypeSupported(self, EType:"AgECrdnEventIntervalListType") -> bool:

Parameters

EType

See Also

Example

Determine if the specified event interval list type is supported.
[C#]
// Check if the specified event interval list type is supported.
if (provider.EventIntervalLists.Factory.IsTypeSupported(eventIntervalListType))
{
    //Create an EventIntervalList with the supported Type
    IAgCrdnEventIntervalList eventIntervalList = provider.EventIntervalLists.Factory.Create(
        "MyEventIntervalList", string.Empty,
        eventIntervalListType);
}
Determine if the specified event interval list type is supported.
[Visual Basic .NET]
' Check if the specified event interval list type is supported.
If provider.EventIntervalLists.Factory.IsTypeSupported(eventIntervalListType) Then
	'Create an EventIntervalList with the supported Type
	Dim eventIntervalList As IAgCrdnEventIntervalList = provider.EventIntervalLists.Factory.Create("MyEventIntervalList", String.Empty, eventIntervalListType)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.