TypeExtensionMethodsIsNullableValueType Method |
Determines whether the type this method is called on is a nullable type of type Nullable(Of T)
Namespace:
SD.Tools.BCLExtensions.SystemRelated
Assembly:
SD.Tools.BCLExtensions (in SD.Tools.BCLExtensions.dll) Version: 1.0.0.0 (1.0.10.1127)
Syntax public static bool IsNullableValueType(
this Type toCheck
)
<ExtensionAttribute>
Public Shared Function IsNullableValueType (
toCheck As Type
) As Boolean
Parameters
- toCheck
- Type: SystemType
The type to check.
Return Value
Type:
Booleantrue if toCheck is a Nullable(Of T) type, otherwise false
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).
See Also