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
[C#]
public bool UseExtChecking {get; set;}
[C++]
HRESULT get_UseExtChecking(
  Boolean* useExts
);
[C++]
HRESULT put_UseExtChecking(
  VARIANT_BOOL useExts
);
[C++]
Parameters
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.

Description

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.

 

Remarks

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