Edit

Share via


GraphExtensions.SetValue Method

Definition

Sets a user extension value at the specified key.

public static System.Threading.Tasks.Task SetValue(this Microsoft.Graph.GraphServiceClient graph, string userId, string extensionId, string key, object value);
static member SetValue : Microsoft.Graph.GraphServiceClient * string * string * string * obj -> System.Threading.Tasks.Task
<Extension()>
Public Function SetValue (graph As GraphServiceClient, userId As String, extensionId As String, key As String, value As Object) As Task

Parameters

graph
Microsoft.Graph.GraphServiceClient

Instance of the Microsoft.Graph.GraphServiceClient.

userId
String

The user to access.

extensionId
String

The id of the target extension.

key
String

The key.

value
Object

The value to set.

Returns

A task.

Applies to