ArcObjects Library Reference (DataSourcesRaster)  

IRasterKeyProperties.GetAllBandProperties Method

Queries all available band-specific key properties.

[Visual Basic .NET]
Public Sub GetAllBandProperties ( _
    ByVal BandIndex As Integer, _
    ByRef ppNames As IStringArray, _
    ByRef ppValues As IVariantArray _
)
[C#]
public void GetAllBandProperties (
    int BandIndex,
    ref IStringArray ppNames,
    ref IVariantArray ppValues
);
[C++]
HRESULT GetAllBandProperties(
  long BandIndex,
  IStringArray** ppNames,
  IVariantArray** ppValues
);
[C++]

Parameters

BandIndex [in]   BandIndex is a parameter of type long ppNames [out]

  ppNames is a parameter of type IStringArray

ppValues [out]

  ppValues is a parameter of type IVariantArray

Product Availability

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

See Also

IRasterKeyProperties Interface

.NET Samples

Get and set key properties on a mosaic dataset (Code Files: GetSetKeyProperty)