ProgrammableDataQueryResultReader.TryGetGlobalValue<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.
Returns global data set for the given key value. IProgrammableDataQueryGlobalData
public:
generic <typename T>
virtual bool TryGetGlobalValue(System::String ^ key, [Runtime::InteropServices::Out] T % value);
public bool TryGetGlobalValue<T> (string key, out T value);
abstract member TryGetGlobalValue : string * 'T -> bool
override this.TryGetGlobalValue : string * 'T -> bool
Public Function TryGetGlobalValue(Of T) (key As String, ByRef value As T) As Boolean
Type Parameters
- T
Parameters
- key
- String
The key
- value
- T
The value returned from the data collection. Unmodified if the data doesn't exist
Returns
True data for the given key and type can be found in the collection, false otherwise.