DataConsumerThemableBase<T>.GetObjectByIndex(Int32) 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 an int N, get the nth object of type T
protected virtual T GetObjectByIndex(int n);
abstract member GetObjectByIndex : int -> 'T
override this.GetObjectByIndex : int -> 'T
Protected Overridable Function GetObjectByIndex (n As Integer) As T
Parameters
- n
- Int32
Index for looking up object of type T
Returns
Found object of type T or null if not found
Remarks
Override to support data sources that provide integral lookups