カバレッジ フィーチャクラスの取得

Sub getCoverageFeatureClass()
    Dim pWSF As IWorkspaceFactory
    Set pWSF = New ArcInfoWorkspaceFactory
    
    Dim pFW As IFeatureWorkspace
    Set pFW = pWSF.OpenFromFile("D:\Workspace\Support\160222-000006\covs\covs\network", 0)
    
    Dim fcc As IFeatureClassContainer
    Set fcc = pFW.OpenFeatureDataset("route")
    
    Dim fc As IFeatureClass
    Set fc = fcc.ClassByName("route.rt")

End Sub