Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This function implements calls to default constructors accessed by new constraints.
Namespace/Module Path: Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicFunctions
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
CreateInstance : unit -> 'T (requires default constructor)
// Usage:
CreateInstance ()
Return Value
A new default instance of the specified type.
Remarks
This function is for use by compiled F# code and should not be used directly.
Platforms
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Version Information
F# Core Library Versions
Supported in: 2.0, 4.0, Portable