RuntimeHelpers.TypeCheck<T>(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.
Not intended for use by application code.
public:
generic <typename T>
static T TypeCheck(T value);
public static T TypeCheck<T> (T value);
static member TypeCheck : 'T -> 'T
Public Shared Function TypeCheck(Of T) (value As T) As T
Type Parameters
- T
Parameters
- value
- T
Returns
- T