Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextWorkflowContext object that contains properties that are associated with the active workflow instance.
listNameOrId
Type: System.StringA string that represents either the GUID of the SharePoint Foundation list identifier (ID) or the list name.
fieldName
Type: System.StringA string that represents the field name from which to retrieve the display name.
Return Value
Type: System.String
The field display name.