getLabelField()

Overview

public string function getLabelField(
      required string objectName
)

Returns the label field name of the object

Arguments

NameTypeRequiredDescription
objectNamestringYesName of the object whose label field you wish to get