LessThanOrEqual<TLeft,TRight,TResult> 类
定义
在两个值之间执行关系测试。Performs a relational test between two values. 如果左操作数小于或等于右操作数,则表达式返回 true。If the left operand is less than or equal to the right operand, the expression returns true. 否则,将返回 false。Otherwise, it returns false.
generic <typename TLeft, typename TRight, typename TResult>
public ref class LessThanOrEqual sealed : System::Activities::CodeActivity<TResult>
public sealed class LessThanOrEqual<TLeft,TRight,TResult> : System.Activities.CodeActivity<TResult>
type LessThanOrEqual<'Left, 'Right, 'Result> = class
inherit CodeActivity<'Result>
Public NotInheritable Class LessThanOrEqual(Of TLeft, TRight, TResult)
Inherits CodeActivity(Of TResult)
类型参数
- TLeft
左操作数的类型。The type of the left operand.
- TRight
右操作数的类型。The type of the right operand.
- TResult
结果的类型。The type of the result.
- 继承
-
LessThanOrEqual<TLeft,TRight,TResult>
构造函数
| LessThanOrEqual<TLeft,TRight,TResult>() |
初始化 LessThanOrEqual<TLeft,TRight,TResult> 类的新实例。Initializes a new instance of the LessThanOrEqual<TLeft,TRight,TResult> class. |
属性
| CacheId |
获取缓存的标识符,该标识符在工作流定义的作用域内是唯一的。Gets the identifier of the cache that is unique within the scope of the workflow definition. (继承自 Activity) |
| Constraints |
获取可配置的 Constraint 活动的集合,用于为 Activity 提供验证。Gets a collection of Constraint activities that can be configured to provide validation for the Activity. (继承自 Activity) |
| DisplayName |
获取或设置用于调试、验证、异常处理和跟踪的可选友好名称。Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (继承自 Activity) |
| Id |
获取一个标识符,该标识符在工作流定义的作用域内是唯一的。Gets an identifier that is unique in the scope of the workflow definition. (继承自 Activity) |
| Implementation |
不支持。Not supported. (继承自 CodeActivity<TResult>) |
| ImplementationVersion |
获取或设置活动的实现版本。Gets or sets the implementation version of the activity. (继承自 CodeActivity<TResult>) |
| Left |
获取或设置左操作数。Gets or sets the left operand. |
| Result |
获取或设置 Activity<TResult> 的结果参数。Gets or sets the result argument for the Activity<TResult>. (继承自 Activity<TResult>) |
| ResultType |
在派生类中实现时,获取 OutArgument 活动的类型。When implemented in a derived class, gets the type of an activity OutArgument. (继承自 ActivityWithResult) |
| Right |
获取或设置右操作数。Gets or sets the right operand. |
方法
| CacheMetadata(ActivityMetadata) |
未实现。Not implemented. 请改用 CacheMetadata(CodeActivityMetadata)。Use CacheMetadata(CodeActivityMetadata) instead. (继承自 CodeActivity<TResult>) |
| CacheMetadata(CodeActivityMetadata) |
创建并验证活动的自变量、变量、子活动和活动委托的说明。Creates and validates a description of the activity's arguments, variables, child activities, and activity delegates. (继承自 CodeActivity<TResult>) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| Execute(CodeActivityContext) |
在派生类中实现时,执行该活动。When implemented in a derived class, performs the execution of the activity. (继承自 CodeActivity<TResult>) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| OnCreateDynamicUpdateMap(UpdateMapMetadata, Activity) |
为动态更新创建映射时,将引发事件。Raises an event when creating a map for the dynamic update. (继承自 CodeActivity<TResult>) |
| ShouldSerializeDisplayName() |
指示是否应序列化 DisplayName 属性。Indicates whether the DisplayName property should be serialized. (继承自 Activity) |
| ToString() |
返回包含 String 的 Id 和 DisplayName 的 Activity。Returns a String that contains the Id and DisplayName of the Activity. (继承自 Activity) |