Udostępnij za pośrednictwem


MultiValueConverterBase<TTarget>.CheckValue<T> Method

Definition

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

Applies to