M_CommandLine_Core_ReflectionExtensions_GetDefaultValue - adutton/commandline GitHub Wiki
Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static Object GetDefaultValue(
this Type type
)VB
<ExtensionAttribute>
Public Shared Function GetDefaultValue (
type As Type
) As ObjectC++
public:
[ExtensionAttribute]
static Object^ GetDefaultValue(
Type^ type
)F#
[<ExtensionAttribute>]
static member GetDefaultValue :
type : Type -> Object
- type
- Type: System.Type
Type: Object
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).