OpenTypeMethods.OrElse(Object, Object) 方法

定义

对两个值执行逻辑 OR 运算。

public:
 static System::Object ^ OrElse(System::Object ^ left, System::Object ^ right);
public static object OrElse (object left, object right);
static member OrElse : obj * obj -> obj
Public Shared Function OrElse (left As Object, right As Object) As Object

参数

left
Object

第一个值。

right
Object

第二个值。

返回

逻辑 OR 运算的结果。

适用于