ExtensionsIsNullable Method |
Determines if the specified type actually a nullable type.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic static bool IsNullable(
this Type source
)
<ExtensionAttribute>
Public Shared Function IsNullable (
source As Type
) As Boolean
public:
[ExtensionAttribute]
static bool IsNullable(
Type^ source
)
[<ExtensionAttribute>]
static member IsNullable :
source : Type -> bool
Parameters
- source
- Type: SystemType
The type that is investigated.
Return Value
Type:
Boolean is
source denotes a nullable type,
otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also