Compartilhar via


Tipo de função LanguagePrimitives.GenericOne<^T> (F#)

Resolve para o valor que representa um “” para qualquer tipo primitivo ou qualquer tipo numérico com um membro estático chamado One.

Namespace/Module Path: Microsoft.FSharp.Core.LanguagePrimitives

Assembly: FSharp.Core (em FSharp.Core.dll)

// Signature:
GenericOne<^T (requires ^T with static member One)> :  ^T (requires ^T with static member One)

// Usage:
GenericOne

Plataformas

O windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Informações de Versão

Versões da biblioteca principal de VersionsF# da biblioteca principal de F#

Suportado em: 2,0, 4,0, 4,0, PortablePortable2.0, portáteis

Consulte também

Referência

Módulo Core.LanguagePrimitives (F#)

Namespace Microsoft.FSharp.Core (F#)