Share via


Helper.GetFieldDisplayName Method

Retrieves the display name value from a specified field.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public Shared Function GetFieldDisplayName ( _
    context As WorkflowContext, _
    listNameOrId As String, _
    fieldName As String _
) As String
'Usage
Dim context As WorkflowContext
Dim listNameOrId As String
Dim fieldName As String
Dim returnValue As String

returnValue = Helper.GetFieldDisplayName(context, _
    listNameOrId, fieldName)
public static string GetFieldDisplayName(
    WorkflowContext context,
    string listNameOrId,
    string fieldName
)

Parameters

  • listNameOrId
    Type: System.String

    A string that represents either the GUID of the SharePoint Foundation list identifier (ID) or the list name.

  • fieldName
    Type: System.String

    A string that represents the field name from which to retrieve the display name.

Return Value

Type: System.String
The field display name.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace