DerivedPatterns.String アクティブ パターン (F#)

文字列定数式を認識します。

名前空間/モジュール パス: Microsoft.FSharp.Quotations.DerivedPatterns

アセンブリ: FSharp.Core (FSharp.Core.dll)

// Signature:
( |String|_| ) : (input:Expr) -> string option

パラメーター

  • input
    型: Expr

    照合する入力式。

戻り値

成功した検索の結果は、string 値です。

解説

この関数は、.NET Framework アセンブリでは StringPattern という名前です。F# 以外の .NET Framework 言語から、またはリフレクションを使用してメンバーにアクセスする場合は、この名前を使用します。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: ポータブル 2.0、4.0

参照

関連項目

Quotations.DerivedPatterns モジュール (F#)

Microsoft.FSharp.Quotations 名前空間 (F#)