Compartir a través de


LogicalOperations.Implies Method

Indicates whether two statements satisfy a logical implication statement.

Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
[ExtensionAttribute] 
public static bool Implies (
    bool c1,
    bool c2
)

Parameters

  • c1
    The first statement.
  • c2
    The second statement.

Return Value

true if the statement c1 implies c2 is true; otherwise, false.

Remarks

This method is equivalent to (!c1 | c2) in C#.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

LogicalOperations Class
LogicalOperations Members
Microsoft.Modeling Namespace
LogicalOperations.Iff Method