共用方式為


LanguagePrimitives.ParseInt32 函式 (F#)

剖析 32 位元整數根據規則使用的多載的 int32轉換運算子時套用至 字串。

命名空間/模組路徑: Microsoft.FSharp.Core.LanguagePrimitives

組件:FSharp.Core (在 FSharp.Core.dll 中)

// Signature:
ParseInt32 : string -> int32

// Usage:
ParseInt32 s

參數

  • s
    型別:string

    輸入字串。

傳回值

剖析的值。

平台

Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

版本資訊

F# 執行階段

支援版本:2.0、4.0

Silverlight

支援版本:3

請參閱

參考

Core.LanguagePrimitives 模組 (F#)

Microsoft.FSharp.Core 命名空間 (F#)