CSharpTest.Net
IsAssignable(Type,Object) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > (Global) Namespace > Check Class > IsAssignable Method : IsAssignable(Type,Object) Method

toType
fromValue

Glossary Item Box

Returns value if the object provided can be assinged to a variable of type toType throws ArgumentException

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function IsAssignable( _
   ByVal toType As Type, _
   ByVal fromValue As Object _
) As Object
C# 
public static object IsAssignable( 
   Type toType,
   object fromValue
)

Parameters

toType
fromValue

Exceptions

ExceptionDescription
System.ArgumentExceptionThe exception that is thrown when one of the arguments provided to a method is not valid.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys