BaseSession.AddAttributeToTask method
Adds an attribute to the task.
Namespace: Microsoft.SharePoint.WorkManagement.Client
Assembly: Microsoft.SharePoint.WorkManagement.Client (in Microsoft.SharePoint.WorkManagement.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function AddAttributeToTask ( _
taskKey As Integer, _
attribute As String _
) As TaskWriteResult
'Usage
Dim instance As BaseSession
Dim taskKey As Integer
Dim attribute As String
Dim returnValue As TaskWriteResult
returnValue = instance.AddAttributeToTask(taskKey, _
attribute)
[RemoteAttribute]
public TaskWriteResult AddAttributeToTask(
int taskKey,
string attribute
)
Parameters
taskKey
Type: System.Int32ID of the task.
attribute
Type: System.StringAttribute to add.
Return value
Type: Microsoft.SharePoint.WorkManagement.Client.TaskWriteResult