This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterKeyProperties Interface > IRasterKeyProperties.GetBandProperty Method (ArcObjects .NET 10.4 SDK) |
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,
VARIANT* pvtValue
);
[C++]
Parameters sName [in] sName is a parameter of type BSTR BandIndex [in] BandIndex is a parameter of type long pvtValue [out, retval] pvtValue is a parameter of type VARIANT