DataConsumerThemableBase<T>.GetObjectByKey(String) 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.
Given a string key, find and return object of type T
protected virtual T GetObjectByKey(string keyValue);
abstract member GetObjectByKey : string -> 'T
override this.GetObjectByKey : string -> 'T
Protected Overridable Function GetObjectByKey (keyValue As String) As T
Parameters
- keyValue
- String
Key value provided by data source
Returns
Found object of type T or null if not found
Remarks
Override to support data sources that provide string keys to lookup objects