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


IRasterCatalogTable.RasterName Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterCatalogTable.RasterName Property

Name of the ith raster in the raster catalog.

[Visual Basic .NET]
Public Function get_RasterName ( _
    ByVal idx As Integer _
) As String
[C#]
public string get_RasterName (
    int idx
);
[C++]
HRESULT get_RasterName(
  long idx,
  System.String* Name
);
[C++]

Parameters idx [in]
idx is a parameter of type long Name [out, retval]
Name is a parameter of type BSTR*

Product Availability

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

Remarks

RasterCatalogTable created from raster catalog in file system and in the geodatabase has slightly different OIDs. The first starts from 0 and the later one starts from 1. To ensure your program work properly for both cases, pass OID, which can be obtained from IRasterCatalogTable::OID(index) to this property, instead of passing index directly.

See Also

IRasterCatalogTable Interface