![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterDefaultsEnv Interface > IRasterDefaultsEnv.UseExtChecking Property (ArcObjects .NET 10.4 SDK) |
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
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.