This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterLayer Interface > IRasterLayer.PrimaryField Property (ArcObjects .NET 10.4 SDK) |
Layer's primary field.
[Visual Basic .NET] Public Property PrimaryField As Integer
[C#] public int PrimaryField {get; set;}
[C++]
HRESULT get_PrimaryField(
long* pnField
);
[C++]
HRESULT put_PrimaryField(
long pnField
);
[C++]
Parameters pnField [out, retval] pnField is a parameter of type long pnField [in] pnField is a parameter of type long
The PrimaryField property controls the field that provides map tips and the field that appears in the left pane of the Identify window. The integer property value represents the column number of the selected field, where the value field equals 1.