Determines whether argValue is type of T.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static void IsTypeOf<T>( string argName, Object argValue ) |
Visual Basic |
---|
Public Shared Sub IsTypeOf(Of T) ( argName As String, argValue As Object ) |
Parameters
- argName
- Type: System..::..String
Name of the arg.
- argValue
- Type: System..::..Object
The arg value.
Type Parameters
- T
- typeparamTM:DotNetNuke.Common.Requires.IsTypeOf``1(System.String,System.Object)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException |