ESRI.ArcGIS.Mobile.Client
GetFieldDisplayCaption Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace > FeatureSourceInfo Class : GetFieldDisplayCaption Method

fieldName
The name of the field.
Returns the caption to display for the given field when viewing.

Syntax

Visual Basic (Declaration) 
Public Function GetFieldDisplayCaption( _
   ByVal fieldName As String _
) As String
C# 
public string GetFieldDisplayCaption( 
   string fieldName
)

Parameters

fieldName
The name of the field.

Return Value

The display caption for the given field; String.Empty if the field name is invalid.

Exceptions

ExceptionDescription
InvalidOperationExceptionInvalid associated feature layer.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also