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


ITemporaryDataset Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IT > ITemporaryDataset Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

ITemporaryDataset Interface

Provides access to members that control temporary datasets.

Product Availability

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

When To Use

Temporary raster datasets can delete themselves if they are not referenced by any application. ITemporaryDataset interface supports temporary raster datasets. It is used to make temporary raster datasets permanent.

Members

Name Description
Method IsTemporary Indicates if the dataset is temporary.
Method MakePermanent Persists this temporary dataset permanent.
Method MakePermanentAs Persists this temporary dataset to a new permanent dataset.

CoClasses that implement ITemporaryDataset

CoClasses and Classes Description
FunctionRasterDataset A class for a function raster dataset.
RasterDataset A representation of a raster dataset on disk.

Remarks

This interface is not supported by a RasterDataset instance from an ArcSDE geodatabase or a File geodatabase.

Temporary raster datasets are created by most operations performed by the Spatial Analyst Extension and also can be created using IRasterWorkspace2::CreateRasterDataset method.

MakePermanent method change the status of a dataset from temporary to permanent. If the dataset is permanent, MakePermanent does nothing.

MakePermanentAs method makes the current dataset permanent by creating a new raster dataset that contains the same data. The current raster dataset will be deleted when all references to it are released. The supported output formats are same as ISaveAs.

 

 

 

.NET Samples

Create a Raster Function template (Code Files: CreateRasterFunctionTemplate) | Create a Math Function Raster dataset (Code Files: CreateMathFunctionRasterDataset) | Create an NDVI custom raster function (Code Files: TestNDVICustomFunction) | Create a Function Raster dataset (Code Files: CreateFunctionRasterDataset) | Create a custom raster function (Code Files: TestWatermarkFunction)

.NET Related Topics

DataSourcesRaster | Performing a spatial analysis operation using objects