CreateInstanceAccessorCreateInstanceTInstance Method
Creates a new instance using the associated
Type or parameterless constructor.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public TInstance CreateInstance<TInstance>()
Public Function CreateInstance(Of TInstance) As TInstance
public:
generic<typename TInstance>
TInstance CreateInstance()
member CreateInstance : unit -> 'TInstance
- TInstance
- The type of the created instance.
TInstanceThe created instance.