Description
Returns whether the specified type is supported.
Syntax
Parameters
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
|
|