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


IRasterKeyProperties.GetBandProperty Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterKeyProperties Interface > IRasterKeyProperties.GetBandProperty Method
ArcGIS Developer Help

IRasterKeyProperties.GetBandProperty Method

Returns the requested key property by name for a given band.

[Visual Basic .NET]
Public Function GetBandProperty ( _
    ByVal sName As String, _
    ByVal BandIndex As Integer _
) As Object
[C#]
public object GetBandProperty (
    string sName,
    int BandIndex
);
[C++]
HRESULT GetBandProperty(
  BSTR sName,
  long BandIndex
);
[C++]
Parameters
sName [in]

sName is a parameter of type BSTR BandIndex [in]
BandIndex is a parameter of type long

Product Availability

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

See Also

IRasterKeyProperties Interface

.NET Samples

Create a custom raster type from the ground up for DMCII data Get and set key properties on a mosaic dataset