Class FunctionRasterDatasetClass
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("D0CC7770-AA1A-4FE3-BD82-1D8BB7B3781F")]
public class FunctionRasterDatasetClass : FunctionRasterDataset, IFunctionRasterDataset2, IFunctionRasterDataset, IMultidimensionalRasterDataset, IRasterDataset3, IRasterDataset2, IRasterDataset, IDataset, IGeoDataset2, IGeoDataset, IRasterBandCollection, IItemPaths, INativeTypeInfo, IMetadata, IMetadataEdit, ITemporaryDataset, IRasterDatasetContainer, IPersistStream, IPersist
- Inheritance
-
FunctionRasterDatasetClass
- Implements
- Inherited Members
Constructors
FunctionRasterDatasetClass()
public FunctionRasterDatasetClass()
Explicit Interface Implementations
Add(IRasterBand, int)
Adds a RasterBand to the band collection.
virtual void Add(IRasterBand Element, int Index)
Parameters
ElementIRasterBandIndexint
Remarks
This method is only applicable to work with a Raster, not with a RasterDataset.
AlterDefinition()
Saves any changes made to this dataset.
virtual void AlterDefinition()
AppendBand(IRasterBand)
Appends a RasterBand to the band collection.
virtual void AppendBand(IRasterBand Element)
Parameters
ElementIRasterBand
Remarks
This method is only applicable to work with a Raster, not with a RasterDataset.
AppendBands(IRasterBandCollection)
Appends a collection of RasterBands to the band collection.
virtual void AppendBands(IRasterBandCollection Bands)
Parameters
BandsIRasterBandCollection
Remarks
This method is only applicable to work with a Raster, not with a RasterDataset.
Arguments
The raster function arguments.
virtual object Arguments { get; set; }
Returns
BandByName[string]
A RasterBand given its name.
virtual IRasterBand BandByName[string Name] { get; }
Parameters
Namestring
Returns
BandIndex[string]
The index of a RasterBand given its name.
virtual int BandIndex[string Name] { get; }
Parameters
Namestring
Returns
Bands
All the bands in the collection as an interface to the RasterBands enumerator object.
virtual IEnumRasterBand Bands { get; }
Returns
BasicOpenFromFile(string)
Opens the dataset from file.
virtual void BasicOpenFromFile(string Path)
Parameters
Pathstring
BlockHeight
The native block height.
virtual int BlockHeight { get; }
Returns
BlockWidth
The native block width.
virtual int BlockWidth { get; }
Returns
BrowseName
The browse name of the dataset.
virtual string BrowseName { get; set; }
Returns
Remarks
CanCopy()
Returns true if this dataset can be copied.
virtual bool CanCopy()
Returns
CanDelete()
True if this dataset can be deleted.
virtual bool CanDelete()
Returns
Remarks
The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
CanEditMetadata
Indicates if metadata can be edited.
virtual bool CanEditMetadata { get; }
Returns
Remarks
This property is available to those objects that support metadata.
CanRename()
True if this dataset can be renamed.
virtual bool CanRename()
Returns
Remarks
The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete or rename a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
CanWrite
Indicates if this RasterDataset is writable.
virtual bool CanWrite { get; }
Returns
Category
The category of the dataset.
virtual string Category { get; }
Returns
Remarks
IDataset::Category returns a description of the category of the dataset. The description returned from the Category property is the same value that is displayed in the Type column within the Contents tab in ArcCatalog. The value will contain a description of the dataset such as "Topology" prefixed with a description of the type of workspace containing the dataset such as "File Geodatabase".
The description returned from IDataset::Category may change between releases of ArcGIS. In addition to this, returned strings are localized, meaning that code relying on a specific string being provided may fail when deployed with a different version of ArcGIS than it was developed with, or when deployed to a client using a different language than it was developed with.
Clear()
Removes all the elements in the collection.
virtual void Clear()
Remarks
This method is only applicable to work with a Raster, not with a RasterDataset.
ClearCache()
Clear the cache.
virtual void ClearCache()
CompleteName
The full path of the RasterDataset.
virtual string CompleteName { get; }
Returns
CompressionType
The compression technique applied to this RasterDataset.
virtual string CompressionType { get; }
Returns
ComputeFootprint(int)
Computes the footprint.
virtual IGeometry ComputeFootprint(int MaximumVertices)
Parameters
MaximumVerticesint
Returns
ComputeFootprintAndCenter(int, out IGeometry, out IGeometry)
Computes the footprint and center.
virtual void ComputeFootprintAndCenter(int MaximumVertices, out IGeometry ppFootprint, out IGeometry ppCenter)
Parameters
Copy(string, IWorkspace)
Copies this dataset to a new dataset with the specified name.
virtual IDataset Copy(string copyName, IWorkspace copyWorkspace)
Parameters
copyNamestringcopyWorkspaceIWorkspace
Returns
Count
The number of bands in the collection.
virtual int Count { get; }
Returns
CreateDefaultRaster()
Creates a raster object with the default properties for this dataset.
virtual IRaster CreateDefaultRaster()
Returns
Remarks
The CreateDefaultRaster method creates a Raster that has a square cell size and contains only three raster bands if the dataset has more than three bands. The three bands are the default bands used in raster RGB renderer and are determined by the settings for default raster behavior made on the RasterDefaultsEnv object in esriCarto library.
CreateFullRaster()
Creates a raster containing all bands in this raster dataset.
virtual IRaster CreateFullRaster()
Returns
CreateRaster()
Creates an empty raster.
virtual IRaster CreateRaster()
Returns
Remarks
An empty raster means that properties of the Raster are not defined. The width, height, and the number of bands of the raster are all 0. It can not be used before populating pixels to it.
CreateRasters()
Creates a collection of rasters from a multidimensional raster dataset.
virtual IArray CreateRasters()
Returns
Delete()
Deletes this dataset.
virtual void Delete()
Remarks
Certain feature classes, such as network and topology feature classes, cannot be deleted until their containing objects are deleted.
Extent
The extent of the GeoDataset.
virtual IEnvelope Extent { get; }
Returns
Remarks
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
FindMemberFunctionsArgumentsByCLSID(UID, ref IArray)
Finds raster function arguments in this dataset that match the given function arguments CLSID.
virtual void FindMemberFunctionsArgumentsByCLSID(UID functionArgumentsCLSID, ref IArray ppMatchingFunctionArguments)
Parameters
FindMemberFunctionsByCLSID(UID)
Finds raster functions in this dataset that match the given function CLSID.
virtual IArray FindMemberFunctionsByCLSID(UID rasterFunctionCLSID)
Parameters
rasterFunctionCLSIDUID
Returns
FindMemberFunctionsByName(string)
Finds raster functions in this dataset that match the given function name.
virtual IArray FindMemberFunctionsByName(string rasterFunctionName)
Parameters
rasterFunctionNamestring
Returns
FirstPyramidLevel
The first available pyramid level.
virtual int FirstPyramidLevel { get; }
Returns
Format
The format of this RasterRataset.
virtual string Format { get; }
Returns
FullName
The name of this function raster dataset.
virtual IName FullName { set; }
Returns
Function
The raster function.
virtual IRasterFunction Function { get; set; }
Returns
GeodataXform
The geodata transformation of the GeoDataset.
virtual IGeodataXform GeodataXform { get; }
Returns
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetFiles(IGeometry, ref IStringArray)
Gets source files within a given clipping geometry.
virtual void GetFiles(IGeometry pGeometry, ref IStringArray ppFiles)
Parameters
pGeometryIGeometryppFilesIStringArray
GetPaths()
Returns all paths associated with the object.
virtual IStringArray GetPaths()
Returns
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
GetSubRasterDatasetByID(int)
The given subdataset by id.
virtual IRasterDataset GetSubRasterDatasetByID(int SubdatasetID)
Parameters
SubdatasetIDint
Returns
GetSubRasterDatasetByName(string)
The given subdataset by name.
virtual IRasterDataset GetSubRasterDatasetByName(string SubdatasetName)
Parameters
SubdatasetNamestring
Returns
GetSubRasterDatasetCompleteName(int)
The given subdataset's complete name.
virtual string GetSubRasterDatasetCompleteName(int SubdatasetID)
Parameters
SubdatasetIDint
Returns
GetSubRasterDatasetCount()
The number of subdatasets.
virtual int GetSubRasterDatasetCount()
Returns
GetSubRasterDatasetFullName(int)
The given subdataset's full name.
virtual IName GetSubRasterDatasetFullName(int SubdatasetID)
Parameters
SubdatasetIDint
Returns
GetSubRasterDatasetName(int)
The given subdataset's name.
virtual string GetSubRasterDatasetName(int SubdatasetID)
Parameters
SubdatasetIDint
Returns
IDataset_CanCopy()
True if this dataset can be copied.
virtual bool IDataset_CanCopy()
Returns
Remarks
The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
The CanCopy method is supported by:
- CAD Drawings
- Coverages
- DBase Tables
- Info Tables
- Raster Datasets
- SDC datasets
- SDC Network Datasets
- Shapefiles
- Shapefile Network Datasets
IDataset_Copy(string, IWorkspace)
Copies this dataset to a new dataset with the specified name.
virtual IDataset IDataset_Copy(string copyName, IWorkspace copyWorkspace)
Parameters
copyNamestringcopyWorkspaceIWorkspace
Returns
Remarks
IDataset::Copy should only be used with datasets from file-based data sources, such as shapefiles and coverages.
IDataset_FullName
The associated name object.
virtual IName IDataset_FullName { get; }
Returns
Remarks
IFunctionRasterDataset2_AlterDefinition()
virtual void IFunctionRasterDataset2_AlterDefinition()
IFunctionRasterDataset2_Arguments
virtual object IFunctionRasterDataset2_Arguments { get; set; }
Returns
IFunctionRasterDataset2_FindMemberFunctionsArgumentsByCLSID(UID, ref IArray)
virtual void IFunctionRasterDataset2_FindMemberFunctionsArgumentsByCLSID(UID functionArgumentsCLSID, ref IArray ppMatchingFunctionArguments)
Parameters
IFunctionRasterDataset2_FindMemberFunctionsByCLSID(UID)
virtual IArray IFunctionRasterDataset2_FindMemberFunctionsByCLSID(UID rasterFunctionCLSID)
Parameters
rasterFunctionCLSIDUID
Returns
IFunctionRasterDataset2_FindMemberFunctionsByName(string)
virtual IArray IFunctionRasterDataset2_FindMemberFunctionsByName(string rasterFunctionName)
Parameters
rasterFunctionNamestring
Returns
IFunctionRasterDataset2_FullName
virtual IName IFunctionRasterDataset2_FullName { set; }
Returns
IFunctionRasterDataset2_Function
virtual IRasterFunction IFunctionRasterDataset2_Function { get; set; }
Returns
IFunctionRasterDataset2_Init(IRasterFunction, object)
virtual void IFunctionRasterDataset2_Init(IRasterFunction pFunction, object pArguments)
Parameters
pFunctionIRasterFunctionpArgumentsobject
IFunctionRasterDataset2_MemberDatasetNames
virtual IArray IFunctionRasterDataset2_MemberDatasetNames { get; }
Returns
IFunctionRasterDataset2_MemberRasterDatasets
virtual IArray IFunctionRasterDataset2_MemberRasterDatasets { get; }
Returns
IFunctionRasterDataset2_Properties
virtual IPropertySet IFunctionRasterDataset2_Properties { get; set; }
Returns
IFunctionRasterDataset2_RasterInfo
virtual IRasterInfo IFunctionRasterDataset2_RasterInfo { get; }
Returns
IFunctionRasterDataset2_Simplify()
virtual void IFunctionRasterDataset2_Simplify()
IGeoDataset2_Extent
virtual IEnvelope IGeoDataset2_Extent { get; }
Returns
IGeoDataset2_SpatialReference
virtual ISpatialReference IGeoDataset2_SpatialReference { get; }
Returns
IPersistStream_GetClassID(out Guid)
virtual void IPersistStream_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
IRasterDataset2_BasicOpenFromFile(string)
virtual void IRasterDataset2_BasicOpenFromFile(string Path)
Parameters
Pathstring
IRasterDataset2_CanCopy()
virtual bool IRasterDataset2_CanCopy()
Returns
IRasterDataset2_CompleteName
virtual string IRasterDataset2_CompleteName { get; }
Returns
IRasterDataset2_CompressionType
virtual string IRasterDataset2_CompressionType { get; }
Returns
IRasterDataset2_Copy(string, IWorkspace)
virtual IDataset IRasterDataset2_Copy(string copyName, IWorkspace copyWorkspace)
Parameters
copyNamestringcopyWorkspaceIWorkspace
Returns
IRasterDataset2_CreateDefaultRaster()
virtual IRaster IRasterDataset2_CreateDefaultRaster()
Returns
IRasterDataset2_Format
virtual string IRasterDataset2_Format { get; }
Returns
IRasterDataset2_OpenFromFile(string)
virtual void IRasterDataset2_OpenFromFile(string Path)
Parameters
Pathstring
IRasterDataset2_PrecalculateStats(object)
virtual void IRasterDataset2_PrecalculateStats(object index_list)
Parameters
index_listobject
IRasterDataset2_SensorType
virtual string IRasterDataset2_SensorType { get; }
Returns
IRasterDataset3_BasicOpenFromFile(string)
virtual void IRasterDataset3_BasicOpenFromFile(string Path)
Parameters
Pathstring
IRasterDataset3_CanCopy()
virtual bool IRasterDataset3_CanCopy()
Returns
IRasterDataset3_CompleteName
virtual string IRasterDataset3_CompleteName { get; }
Returns
IRasterDataset3_CompressionType
virtual string IRasterDataset3_CompressionType { get; }
Returns
IRasterDataset3_Copy(string, IWorkspace)
virtual IDataset IRasterDataset3_Copy(string copyName, IWorkspace copyWorkspace)
Parameters
copyNamestringcopyWorkspaceIWorkspace
Returns
IRasterDataset3_CreateDefaultRaster()
virtual IRaster IRasterDataset3_CreateDefaultRaster()
Returns
IRasterDataset3_CreateFullRaster()
virtual IRaster IRasterDataset3_CreateFullRaster()
Returns
IRasterDataset3_CreateRaster()
virtual IRaster IRasterDataset3_CreateRaster()
Returns
IRasterDataset3_Format
virtual string IRasterDataset3_Format { get; }
Returns
IRasterDataset3_IsEmpty
virtual bool IRasterDataset3_IsEmpty { get; }
Returns
IRasterDataset3_OpenFromFile(string)
virtual void IRasterDataset3_OpenFromFile(string Path)
Parameters
Pathstring
IRasterDataset3_PrecalculateStats(object)
virtual void IRasterDataset3_PrecalculateStats(object index_list)
Parameters
index_listobject
IRasterDataset3_SensorType
virtual string IRasterDataset3_SensorType { get; }
Returns
Init(IRasterFunction, object)
Initializes this function raster dataset.
virtual void Init(IRasterFunction pFunction, object pArguments)
Parameters
pFunctionIRasterFunctionpArgumentsobject
IsCacheStale
Indicates if the raster cache is stale and needs to be refreshed.
virtual bool IsCacheStale { get; }
Returns
IsDirty()
virtual void IsDirty()
IsDynamic
Indicates the collection is dynamic.
virtual bool IsDynamic { get; }
Returns
IsEmpty
Indicates whether the raster dataset is empty.
virtual bool IsEmpty { get; }
Returns
Remarks
An empty raster means that properties of the Raster are not defined. The width, height, and the number of bands of the raster are all 0. It can not be used before populating pixels to it.
Co-create a Raster and IRasterDataset2::CreateRaster create an empty raster.
IRasterBandCollection::AppendBands or AppendBand allows you to populate this raster.
IsTemporary()
Indicates if the dataset is temporary.
virtual bool IsTemporary()
Returns
Item(int)
Returns a RasterBand given its index.
virtual IRasterBand Item(int BandIndex)
Parameters
BandIndexint
Returns
LODInfos
The custom LOD infos.
virtual IRasterLODInfos LODInfos { get; }
Returns
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
MakePermanent()
Persists this temporary dataset permanent.
virtual void MakePermanent()
MakePermanentAs(string, IWorkspace, string)
Persists this temporary dataset to a new permanent dataset.
virtual IDataset MakePermanentAs(string new_name, IWorkspace Workspace, string Format)
Parameters
new_namestringWorkspaceIWorkspaceFormatstring
Returns
MaximumPyramidLevel
The maximum available pyramid level.
virtual int MaximumPyramidLevel { get; }
Returns
MemberDatasetNames
The constituent datasets names referenced by this function raster dataset.
virtual IArray MemberDatasetNames { get; }
Returns
MemberRasterDatasets
The constituent raster datasets in this function raster dataset.
virtual IArray MemberRasterDatasets { get; }
Returns
Metadata
The PropertySet containing metadata.
virtual IPropertySet Metadata { get; set; }
Returns
Remarks
The variable to hold the data must be of IPropertySet data type.
The metadata property is frequently used to save, or update, changes to metadata documents that have taken place through methods available on the IPropertySet, IXmlPropertySet, and/or IXmlPropertySet2 interfaces.
Name
The name of the Dataset.
virtual string Name { get; }
Returns
NativeExtent
The native extent of the GeoDataset (before transformation applied).
virtual IEnvelope NativeExtent { get; }
Returns
NativeSpatialReference
The native spatial reference of the GeoDataset (before transformation applied).
virtual ISpatialReference NativeSpatialReference { get; }
Returns
NativeType
The native type.
virtual INativeType NativeType { get; }
Returns
OpenFromFile(string)
Attaches dataset to a particular file.
virtual void OpenFromFile(string Path)
Parameters
Pathstring
PrecalculateStats(object)
Calculates statistics and histograms for specified bands.
virtual void PrecalculateStats(object index_list)
Parameters
index_listobject
Properties
The function raster dataset proprties.
virtual IPropertySet Properties { get; set; }
Returns
PropertySet
The set of properties for the dataset.
virtual IPropertySet PropertySet { get; }
Returns
Remarks
Examples of intrinsic properties for which explicit methods exist include the SpatialReference and the Extent methods available on the IGeoDataset interface. In most cases this PropertySet will be empty.
IDataset::PropertySet is not supported for Graph objects such as a Geometric Network.
RasterInfo
The raster information.
virtual IRasterInfo RasterInfo { get; }
Returns
Read(IPnt, IRaster, IPixelBlock)
Reads a block of pixels starting from the top left corner.
virtual void Read(IPnt tlc, IRaster Raster, IPixelBlock PixelBlock)
Parameters
tlcIPntRasterIRasterPixelBlockIPixelBlock
ReadPyramid(IPnt, int, IRaster, IPixelBlock)
Reads a block of pixels at a given pyramid level.
virtual void ReadPyramid(IPnt tlc, int PyramidLevel, IRaster Raster, IPixelBlock PixelBlock)
Parameters
tlcIPntPyramidLevelintRasterIRasterPixelBlockIPixelBlock
Refresh()
Refreshes opened RasterDataset.
virtual void Refresh()
RefreshCache()
Refresh raster cache.
virtual void RefreshCache()
Remove(int)
Removes an element from the collection.
virtual void Remove(int Index)
Parameters
Indexint
Remarks
This method is only applicable to work with a Raster, not with a RasterDataset.
Rename(string)
Renames this Dataset.
virtual void Rename(string Name)
Parameters
Namestring
Remarks
IDataset::Rename does not support the renaming of Graph objects such as a Geometric Network. In addition, certain feature classes, such as network feature classes, cannot be renamed.
ReplacePaths(IStringArray, IStringArray)
Updates all paths associated with the object using the specified mapping rule. The number of values in the two arrays must be the same.
virtual void ReplacePaths(IStringArray pOldPaths, IStringArray pNewPaths)
Parameters
pOldPathsIStringArraypNewPathsIStringArray
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
SaveAs(string, IWorkspace, string)
Creates a new persistent RasterDataset with the bands in the collection.
virtual IDataset SaveAs(string new_name, IWorkspace worksp, string Format)
Parameters
new_namestringworkspIWorkspaceFormatstring
Returns
Remarks
The SaveAs method can create a raster dataset in Imagine, TIFF, GRID, JPEG2000, JPEG, BMP, GIF, PNG, PCI Raster, USGS ASCII DEM, X11 Pixmap, Memory Raster and geodatabase raster.
The format strings used for the supported formats are below, and they are case sensitive:
| Format Name | String Used |
|---|---|
| Imagine | "IMAGINE Image" |
| TIFF | "TIFF" |
| GRID | "GRID" |
| JPEG | "JPG" |
| JP2000 | "JP2" |
| BMP | "BMP" |
| PNG | "PNG" |
| GIF | "GIF" |
| PCI Raster | "PIX" |
| X11 Pixmap | "XPM" |
| PCRaster | "MAP" |
| Memory Raster | "MEM" |
| HDF4 | "HDF4" |
| BIL | "BIL" |
| BIP | "BIP" |
| BSQ | "BSQ" |
| Idrisi Raster Format | "RST" |
| ENVI Raster Format | "ENVI" |
| Geodatabase Raster | "GDB" |
The format string "TIFF" creates a TIFF file with ".tif" extension. ArcGIS also supports TIFF format with ".tiff" and ".tff" extensions. A format string "TIF" creates a TIFF file with ".tiff" extention and a format string "TFF" creates a TIFF file with ".tff" extension.
Note, SaveAs will return a RasterDataset, to prevent from SaveAs holding the output, .NET ReleaseCOMObject needs to be called to release the referene to the output raster dataset:
System.Runtime.InteropServices.Marshal.ReleaseComObject(outRasterDS);
SensorType
The sensor type used for this RasterDataset.
virtual string SensorType { get; }
Returns
Simplify()
Simplifies the function raster dataset by removing redundant raster functions.
virtual void Simplify()
SpatialReference
The spatial reference of the GeoDataset.
virtual ISpatialReference SpatialReference { get; }
Returns
Remarks
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
Subsets
Datasets contained within this dataset.
virtual IEnumDataset Subsets { get; }
Returns
Remarks
IDataset::Subsets is not supported for Graph objects such as a Geometric Network. To return the feature classes contained in a Geometric Network, use the IFeatureClassContainer interface.
Synchronize()
Synchronizes changes.
virtual void Synchronize()
Synchronize(esriMetadataSyncAction, int)
Updates metadata with the current properties; may create metadata if it doesn't already exist.
virtual void Synchronize(esriMetadataSyncAction action, int interval)
Parameters
actionesriMetadataSyncActionintervalint
Remarks
The following actions will result in synchronization given each of the listed conditions:
| Action | Metadata status | Esri/Sync element | Interval parameter |
|---|---|---|---|
| esriMSAAccessed | Doesn't matter | Must not be FALSE | Must be less than actual interval |
| esriMSAAlways | Doesn't matter | Doesn't matter | Doesn't matter |
| esriMSACreated | Must not exist | Must not be FALSE | Must be less than actual interval |
| esriMSANotCreated | Must exist | Must not be FALSE | Must be less than actual interval |
| esriMSAOverwrite | Doesn't matter | Doesn't matter | Doesn't matter |
The difference between esriMSAAlways and esriMSAOverwrite lies in which elements are synchronized. esriMSAAlways will honor the removal or value change of an element's Sync attribute (to disable synchronization), whereas using esriMSAOverwrite is equivalent to setting the IXmlPropertySet2.OverwriteSyncAttribute to true for the metadata's property set, meaning that even elements without a Sync attribute of TRUE will be synchronized.
Type
The type of the Dataset.
virtual esriDatasetType Type { get; }
Returns
Remarks
Workspace
The workspace containing this dataset.
virtual IWorkspace Workspace { get; }
Returns
Remarks
<p>A Workspace is a container of spatial and non-spatial datasets such as feature classes, raster datasets, and tables. It provides methods to instantiate existing datasets and to create new datasets. Workspaces are classified into types specified by the <b><a href="esriWorkspaceType.htm">esriWorkspaceType</a></b> enumerator: FileSystemWorkspace, LocalDatabaseWorkspace, and RemoteDatabaseWorkspace. Shapefiles and ArcGIS for Desktop Advanced workspaces are examples of FileSystemWorkspace. A personal geodatabase stored in an Access or a File Geodatabase is an example of a LocalDatabaseWorkspace. A geodatabase stored in an RDBMS such as Oracle, DB2, SQL Server, or Informix and accessed via ArcSDE is an example of a RemoteDatabaseWorkspace.</p> <p>A Workspace hands out a <b><a href="WorkspaceName.htm">WorkspaceName</a> </b>object as the value of its FullName property. For example, the WorkspaceName for a workspace can be persisted in a map document. An application can call the <b>Open()</b> method on the workspace name after loading it from persistent storage to connect to and get an object reference to the workspace.</p>
Write(IPnt, IRaster, esriRasterWriteMode, IPixelBlock)
Writes a block of pixels starting from the top left corner.
virtual void Write(IPnt tlc, IRaster Raster, esriRasterWriteMode mode, IPixelBlock PixelBlock)
Parameters
tlcIPntRasterIRastermodeesriRasterWriteModePixelBlockIPixelBlock