laptop and a wrench

不具合

With MOLE92QFENIM009615, MOLE layers do not evaluate a definition expression if the same expression is applied again.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM034277
送信されましたApril 15, 2008
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.2
プログラム言語C#
修正されたバージョン9.2
ステータスFixed

対処法

Check to see if the definition expression applied is the same or not. If it is same then set the definition expression on the layer to an empty string and then apply the new expression. Code below: string tempFilter = ""; tempFilter = ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression; if (tempFilter.Trim() == filter.Trim()) { ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression = string.Empty; ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression = filter.Trim(); } else { ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression = filter.Trim(); }

再現の手順

不具合 ID: NIM034277

ソフトウェア:

  • No Product Found

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

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

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

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

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

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

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