OpenXmlComparableSimpleValue<T>.LessThanOrEqual 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定左侧作数是否小于或等于右侧作数。
public static bool operator <=(DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T> left, DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T> right);
public static bool operator <=(DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T>? left, DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T>? right);
static member ( <= ) : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<'T (requires 'T : struct)> * DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<'T (requires 'T : struct)> -> bool
Public Shared Operator <= (left As OpenXmlComparableSimpleValue(Of T), right As OpenXmlComparableSimpleValue(Of T)) As Boolean
参数
左侧作数或 null。
右侧作数或 null。
返回
如果左侧作数小于或等于右侧作数,则为 True;否则为 false。