Guard.TypeArgumentIs(Type, Type, String) Method
In This Article
Ensures that an argument has a specific type.
Namespace: DevExpress.ExpressApp.Utils
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
expected |
Type | A Type object representing the expected type of the argument. |
passed |
Type | A Type object representing the actual type of the argument. |
argument |
String | A string holding the name of the argument to check. |
#Remarks
If the specified argument has a different type, an exception is thrown.
See Also