Solid Edge Revision Manager Object Library
IsInsightSupported Method
Specifies whether Insight is supported.
Description
This method returns Insight support status.
Syntax
Visual Basic
Public Function IsInsightSupported( _
   ByRef bInsightIsSupported As Boolean _
) As Long
Parameters
bInsightIsSupported
Specifies whether Insight is supported.
Example
Imports RevisionManager
Imports System.Runtime.InteropServices

Module Example

    Sub Main()
        Dim objApplication As RevisionManager.Application = Nothing
        Dim objInsight As RevisionManager.Insight = Nothing
        Dim bInsightIsSupported As Boolean

        Try
            ' Start Revision Manager.
            objApplication = New RevisionManager.Application

            ' Get reference to Insight object.
            objInsight = objApplication.Insight

            objInsight.IsInsightSupported(bInsightIsSupported)

            If (bInsightIsSupported) Then
                ' Insight is supported.
            End If
        Catch ex As Exception
            ' Write any errors to console.
            Console.WriteLine(ex.Message)
        Finally
            ' Release COM Objects.
            If Not (objInsight Is Nothing) Then
                Marshal.ReleaseComObject(objInsight)
                objInsight = Nothing
            End If

            If Not (objApplication Is Nothing) Then
                objApplication.Quit()
                Marshal.ReleaseComObject(objApplication)
                objApplication = Nothing
            End If
        End Try
    End Sub

End Module
See Also

IInsight Object  | IInsight Members

Send comments on this topic.