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


IRasterKeyProperties.GetAllBandProperties 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.GetAllBandProperties Method
ArcGIS Developer Help

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