BaseSession.UpdateTaskWithLocalizedValue method
Updates a field of the task with a localized value.
Namespace: Microsoft.SharePoint.WorkManagement.Client
Assembly: Microsoft.SharePoint.WorkManagement.Client (in Microsoft.SharePoint.WorkManagement.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function UpdateTaskWithLocalizedValue ( _
taskKey As Integer, _
field As WritableTaskField, _
value As String _
) As TaskWriteResult
'Usage
Dim instance As BaseSession
Dim taskKey As Integer
Dim field As WritableTaskField
Dim value As String
Dim returnValue As TaskWriteResult
returnValue = instance.UpdateTaskWithLocalizedValue(taskKey, _
field, value)
[RemoteAttribute]
public TaskWriteResult UpdateTaskWithLocalizedValue(
int taskKey,
WritableTaskField field,
string value
)
Parameters
taskKey
Type: System.Int32ID of the task.
field
Type: Microsoft.SharePoint.WorkManagement.Client.WritableTaskFieldEnumerator indicating which field should be updated.
value
Type: System.StringNew value of the field.
Return value
Type: Microsoft.SharePoint.WorkManagement.Client.TaskWriteResult