Expr.IfThenElse 메서드(F#)

if...then...else 식을 만듭니다.

네임스페이스/모듈 경로: Microsoft.FSharp.Quotations

어셈블리: FSharp.Core(FSharp.Core.dll)

// Signature:
static member IfThenElse : Expr * Expr * Expr -> Expr

// Usage:
Expr.IfThenElse (guard, thenExpr, elseExpr)

매개 변수

  • guard
    형식: Expr

    조건식입니다.

  • thenExpr
    형식: Expr

    then 하위 식입니다.

  • elseExpr
    형식: Expr

    else 하위 식입니다.

반환 값

결과 식입니다.

플랫폼

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

참고 항목

참조

Quotations.Expr 클래스(F#)

Microsoft.FSharp.Quotations 네임스페이스(F#)