ProgrammableDataQueryResultReader.SetGlobalData(String, Object) 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.
Sets a data value for the given key. The data is valid trace-wide.
public:
void SetGlobalData(System::String ^ key, System::Object ^ value);
public:
void SetGlobalData(Platform::String ^ key, Platform::Object ^ value);
void SetGlobalData(std::wstring const & key, winrt::Windows::Foundation::IInspectable const & value);
public void SetGlobalData (string key, object value);
member this.SetGlobalData : string * obj -> unit
Public Sub SetGlobalData (key As String, value As Object)
Parameters
- key
- String
The key to set
- value
- Object
The value to set