IGraphContext.SetValue<T>(String, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new value to the context's property bag. This can be used to pass extra information to providers.
public:
generic <typename T>
void SetValue(System::String ^ name, T value);
public void SetValue<T> (string name, T value);
abstract member SetValue : string * 'T -> unit
Public Sub SetValue(Of T) (name As String, value As T)
Type Parameters
- T
The generic type of the value being set.
Parameters
- name
- String
The key for the value.
- value
- T
The actual object value.