Share via


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

Return value

Type: Microsoft.SharePoint.WorkManagement.Client.TaskWriteResult

See also

Reference

BaseSession class

BaseSession members

Microsoft.SharePoint.WorkManagement.Client namespace