laptop and a wrench

不具合

Using IDataset::Delete on a TIN after using IMap::DeleteLayer will result in a file share violation error, but then partially delete the TIN from the disk.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM003263
送信されましたJuly 6, 2006
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.1
ステータスNon-Reproducible

参考情報

No Public Explanation

対処法

Instead of using IMap::DeleteLayer use IRemoveLayerOperation instead.==========================Sub RemoveLayer()Dim pMxDoc As IMxDocumentDim pMap As IMapDim pLayer As ILayerDim pRemoveLayerOperation As IRemoveLayerOperationDim pOp As IOperationSet pMxDoc = ThisDocumentSet pMap = pMxDoc.FocusMapSet pLayer = pMap.Layer(0)Set pRemoveLayerOperation = New RemoveLayerOperationpRemoveLayerOperation.Map = pMappRemoveLayerOperation.Layer = pLayerSet pOp = pRemoveLayerOperation<a href="http://pOp.Do" target="_blank">pOp.Do</a>pMxDoc.ActiveView.RefreshEnd Sub===========================***Or****Delete the layer with the geoprocessor Delete (Management) tool.=====================Dim gp As ObjectSet gp = CreateObject("esrigeoprocessing.gpdispatch.1")gp.AddToolbox "<a href="file:C:/program" target="_blank">C:\program</a> files\arcgis\arctoolbox\toolboxes\data management tools.tbx"gp.Delete_management "<a href="file:c:/temp/tin" target="_blank">c:\temp\tin</a>", "<a href="file:C:/Temp/tin" target="_blank">C:\Temp\tin</a>"=====================

再現の手順

不具合 ID: NIM003263

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動