AGI STK VGT 11 Send comments on this topic.
IsTypeSupported Method (IAgCrdnEventIntervalListFactory)
See Also  Example
EType





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
);

[Java]
public bool isTypeSupported(
AgECrdnEventIntervalListType EType
);

[Unmanaged C++]
public: HRESULT IsTypeSupported(
AgECrdnEventIntervalListType EType,
VARIANT_BOOL * ReturnValue
);

Parameters

EType
Member Value Description
eCrdnEventIntervalListTypeUnknown -1 Unknown or unsupported interval list types
eCrdnEventIntervalListTypeFromFile 0 This enumeration is deprecated. Use EventIntervalListTypeFile. Interval list loaded from specified interval file
eCrdnEventIntervalListTypeMerged 1 Interval list created by merging two constituent interval lists using specified logical operation.
eCrdnEventIntervalListTypeFiltered 2 Defined by filtering intervals from original interval list using specified filtering method.
eCrdnEventIntervalListTypeCondition 3 Interval list containing intervals during which specified condition is satisfied (UI type name is Satisfaction).
eCrdnEventIntervalListTypeScaled 4 Interval List defined by scaling every interval in original interval list using either absolute or relative scale.
eCrdnEventIntervalListTypeSignaled 5 Determines what interval list is recorded at target clock location by performing signal transmission of original interval list between base and target clock locations.
eCrdnEventIntervalListTypeTimeOffset 6 Interval List defined by shifting specified reference interval list by fixed time offset.
eCrdnEventIntervalListTypeFile 0 Interval list loaded from specified interval file
eCrdnEventIntervalListTypeFixed 7 Interval list with individual intervals defined between explicitly specified start and stop times.

Example

Determine if the specified event interval list type is supported.
[C#] Copy Code
// 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] Copy Code
' 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

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1