This document is archived and information here might be outdated.  Recommended version.

IRasterDefaultsEnv.UseExtChecking Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterDefaultsEnv Interface > IRasterDefaultsEnv.UseExtChecking Property
ArcGIS Developer Help

IRasterDefaultsEnv.UseExtChecking Property

Indicates if extension checking is on.

[Visual Basic .NET]
Public Property UseExtChecking As Boolean
public bool UseExtChecking {get; set;}
HRESULT get_UseExtChecking(
  Boolean* useExts
HRESULT put_UseExtChecking(
useExts [out, retval]

useExts is a parameter of type bool* useExts [in]
useExts is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


This method is used to specify whether using file extension checking or not when you browse file based raster data such as .img, .tif, and jp2 etc.

Using file extension checking (true) is faster in browsing raster datasets, and this is the default.



The UseExtChecking property specifies how ArcCatalog and the GxBrowser search for raster datasets. A True value for extension checking means that files or folders will be identified as raster datasets only if their extension matches the list of supported raster format extensions. A False value means that all files and folders will be opened to determine whether they are a raster dataset in any of the supported raster formats. This is more reliable but is much slower than extension checking only. Extension checking only is the default.

See Also

IRasterDefaultsEnv Interface