Solid Edge Revision Manager Object Library
GetIndirectFiles Method
Specifies the URL file name for which the indirect file list will be returned.
Specifies the list of indirect files for the supplied file name.
Description
This method returns a list of indirect files for the given file name.
Syntax
Visual Basic
Public Function GetIndirectFiles( _
   ByVal FileName As String, _
   ByRef pIndirectFilesList As Variant _
) As Long
Parameters
FileName
Specifies the URL file name for which the indirect file list will be returned.
pIndirectFilesList
Specifies the list of indirect files for the supplied file name.
Example
Imports RevisionManager
Imports System.Runtime.InteropServices

Module Example

    Sub Main()
        Dim objApplication As RevisionManager.Application = Nothing
        Dim objInsight As RevisionManager.Insight = Nothing
        Dim strFileName As String
        Dim pIndirectFilesList As Object = Nothing

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

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

            strFileName = "http://solidvm/Engineering/PreReleased/PreReleasedDocLib/CDPlayer/CDPlayer.asm"

            objInsight.GetIndirectFiles(strFileName, pIndirectFilesList)
        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

Insight Object  | Insight Members

Send comments on this topic.