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