MultiValueConverterBase<TTarget>.CheckValue<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.
Validates that values
[index
] is of type T
protected T CheckValue<T> (object[] values, int index, string caller = "");
member this.CheckValue : obj[] * int * string -> 'T
Protected Function CheckValue(Of T) (values As Object(), index As Integer, Optional caller As String = "") As T
Type Parameters
- T
Parameters
- values
- Object[]
- index
- Int32
- caller
- String
Returns
T
values
[index
], cast to type T