UiPath Marketplace
最新
False
横幅背景图像
UiPath Marketplace 用户指南
上次更新日期 2024年4月16日

名称

Activity Creator



生成的代码

每个属性的“LocalizedDisplayName”属性都包含对您输入的名称的引用。 可以通过转到 *Properties Resources.resx* 来修改此名称。

名称也会压缩,并在代码中用于标识每个属性。

...
#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
......
#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 中的效果

在设计器和属性窗格中,每个属性都按其名称标记。



此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.