Visual Basic (Declaration) | |
---|---|
Public Shared Function CheckTypeBeforeCast(Of T)( _ ByVal value As Object, _ ByVal throwOnError As Boolean _ ) As T |
Parameters
- value
- throwOnError
Type Parameters
- T
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family