







![]() ![]() |
EPPlus 3.0 |
ArgumentExtensions..::.IsNotNull<(Of <(T>)>) Method |
ArgumentExtensions Class See Also Send Feedback |
Throws an ArgumentNullException if argument is null
Namespace:
OfficeOpenXml.Utils
Assembly:
EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
C# |
---|
public static void IsNotNull<T>( this IArgument<T> argument, string argumentName ) where T : class |
Visual Basic (Declaration) |
---|
<ExtensionAttribute> _ Public Shared Sub IsNotNull(Of T As Class) ( _ argument As IArgument(Of T), _ argumentName As String _ ) |
Visual C++ |
---|
[ExtensionAttribute] public: generic<typename T> where T : ref class static void IsNotNull( IArgument<T>^ argument, String^ argumentName ) |
Parameters
- argument
- Type: OfficeOpenXml.Utils..::.IArgument<(Of <(T>)>)
Argument to check
- argumentName
- Type: System..::.String
parameter/argument name
Type Parameters
- T
- Argument type
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException |