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


IRasterDefaultsEnv.UseExtChecking Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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(
  VARIANT_BOOL* useExts
);
[C++]
HRESULT put_UseExtChecking(
  VARIANT_BOOL useExts
);
[C++]

Parameters useExts [out, retval] useExts is a parameter of type VARIANT_BOOL useExts [in] useExts is a parameter of type VARIANT_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