BCGControlBar Library for .NET
IsInstanceOfType(Object,String) Method




The object to compare with the specified Type.

The name of type to compare with the object.
Determines whether the specified object is an instance of the specified type.
Syntax
'Declaration
 
Public Overloads Shared Function IsInstanceOfType( _
   ByVal obj As Object, _
   ByVal typeName As String _
) As Boolean
'Usage
 
Dim obj As Object
Dim typeName As String
Dim value As Boolean
 
value = GlobalUtils.IsInstanceOfType(obj, typeName)
public static bool IsInstanceOfType( 
   object obj,
   string typeName
)
public: static bool IsInstanceOfType( 
   Object* obj,
   string* typeName
) 
public:
static bool IsInstanceOfType( 
   Object^ obj,
   String^ typeName
) 

Parameters

obj

The object to compare with the specified Type.

typeName
The name of type to compare with the object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GlobalUtils Class
GlobalUtils Members
Overload List

Send Feedback