Description
Returns whether the specified type is supported.
Syntax
Parameters
See Also
Example
Determine if the specified event interval type is supported.
[C#] |
---|
// Check if the specified event interval type is supported.
if (provider.EventIntervals.Factory.IsTypeSupported(eventIntervalType))
{
//Create an EventInterval with the supported Type
IAgCrdnEventInterval eventInterval = provider.EventIntervals.Factory.Create(
"MyEventInterval", string.Empty,
eventIntervalType);
}
|
|
Determine if the specified event interval type is supported.
[Visual Basic .NET] |
---|
' Check if the specified event interval type is supported.
If provider.EventIntervals.Factory.IsTypeSupported(eventIntervalType) Then
'Create an EventInterval with the supported Type
Dim eventInterval As IAgCrdnEventInterval = provider.EventIntervals.Factory.Create("MyEventInterval", String.Empty, eventIntervalType)
End If
|
|