 | DefaultValueCreateDefault Method |
Creates the default value (C#: default(T)) for the specified type, where the type is only known at runtime.
Namespace: TomsToolbox.EssentialsAssembly: TomsToolbox.Essentials (in TomsToolbox.Essentials.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static Object? CreateDefault(
Type type
)
Public Shared Function CreateDefault (
type As Type
) As Object
Parameters
- type Type
- The type.
Return Value
ObjectThe default value.
See Also