Dim pFeatureCursor As IFeatureCursor Set pFeatureCursor = pFeatureClass.Insert(True) 'フィーチャバッファを使用 Dim pFeature As IFeature Set pFeature = pFeatureClass.CreateFeatureBuffer Dim i As Long 'ループ用 Dim q As Long 'ObjectID Dim c As Long 'フィーチャ フラッシュ用 c = 0 'ループ処理 For i = 0 To 1000 '属性情報の入力 pFeature.Value(2) = "xxx" 'Featureの作成処理 q = pFeatureCursor.InsertFeature(pFeature) c = c + 1 'フィーチャのフラッシュ If c = 1000 Then pFeatureCursor.Flush c = 0 End If Next i
ISelectionSet-Search メソッドの動作
2016/9/1 (木)