sdk
latest
false
- 概述
- 自定义活动
- 将活动迁移到 .NET 6
- 发行说明
- 构建工作流分析器规则
- 构建活动项目设置
- 创建自定义向导
- 按范围划分活动的优先级
- UiPath.Activities.Api.Base
- UiPath.Studio.Activities.Api
- UiPath.Studio.Activities.Api.Activities
- UiPath.Studio.Activities.Api.BusyService
- UiPath.Studio.Activities.Api.ExpressionEditor
- UiPath.Studio.Activities.Api.Expressions
- UiPath.Studio.Activities.Api.Licensing
- UiPath.Studio.Activities.Api.Mocking
- UiPath.Studio.Activities.Api.ObjectLibrary
- UiPath.Studio.Activities.Api.PackageBindings
- UiPath.Studio.Activities.Api.ProjectProperties
- UiPath.Studio.Activities.Api.ScopedActivities
- UiPath.Studio.Activities.Api.Settings
- UiPath.Studio.Activities.Api.Wizards
- UiPath.Studio.Activities.Api.Workflow
- UiPath.Studio.Api.Controls
- UiPath.Studio.Api.Telemetry
- UiPath.Studio.Api.Theme
- Robot JavaScript SDK
- 触发器 SDK
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
开发者指南
Last updated 2024年10月25日
类型
选择浏览类型以打开类型演示器并访问更复杂的类型。
注意:添加到活动项目中的任何引用(即 MyCompany.MyProduct.Activities)将在此类型演示器中可用。 辅助项目(即 MyCompany.MyProduct)默认情况下包含在此引用列表中,因此在此处添加的任何自定义类都会自动在您的活动中使用。
生成的代码
属性类型在
Argument
中声明,以便在 UiPath Studio 中实现更多功能。 如果选择了任何非标准类型,则带有该类型命名空间的 using
语句将自动添加到活动文件的顶部。
using System;
...
#region Properties
[LocalizedDisplayName(nameof(Resources.Addition_FirstNumber_DisplayName))]
[LocalizedDescription(nameof(Resources.Addition_FirstNumber_Description))]
[LocalizedCategory(nameof(Resources.Input_Category))]
public InArgument<int> FirstNumber { get; set; }
[LocalizedDisplayName(nameof(Resources.Addition_SecondNumber_DisplayName))]
[LocalizedDescription(nameof(Resources.Addition_SecondNumber_Description))]
[LocalizedCategory(nameof(Resources.Input_Category))]
public InArgument<int> SecondNumber { get; set; }
[LocalizedDisplayName(nameof(Resources.Addition_Sum_DisplayName))]
[LocalizedDescription(nameof(Resources.Addition_Sum_Description))]
[LocalizedCategory(nameof(Resources.Output_Category))]
public OutArgument<int> Sum { get; set; }
#endregion
...
using System;
...
#region Properties
[LocalizedDisplayName(nameof(Resources.Addition_FirstNumber_DisplayName))]
[LocalizedDescription(nameof(Resources.Addition_FirstNumber_Description))]
[LocalizedCategory(nameof(Resources.Input_Category))]
public InArgument<int> FirstNumber { get; set; }
[LocalizedDisplayName(nameof(Resources.Addition_SecondNumber_DisplayName))]
[LocalizedDescription(nameof(Resources.Addition_SecondNumber_Description))]
[LocalizedCategory(nameof(Resources.Input_Category))]
public InArgument<int> SecondNumber { get; set; }
[LocalizedDisplayName(nameof(Resources.Addition_Sum_DisplayName))]
[LocalizedDescription(nameof(Resources.Addition_Sum_Description))]
[LocalizedCategory(nameof(Resources.Output_Category))]
public OutArgument<int> Sum { get; set; }
#endregion
...
UiPath Studio 中的效果
属性说明在设计器中显示为文本框占位符。 也可以通过将鼠标悬停在“属性”窗格中的属性上来查看这些属性。