参数元素 (coercionParametersType complexType) (Action4)
适用于:SharePoint Server 2013
用于描述用作强制操作的活动的隐藏输入参数。 还定义在将用作强制的活动插入工作流时始终在内部添加的其他输入值。 Parameter 元素的类型为 coercionParametersType。
元素信息
- 架构文件:Actions4.xsd
定义
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="ActivityBody" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="ActivityBody">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="Name" type="s:string" use="required" />
<xs:attribute name="Type" type="s:string" use="required" />
<xs:attribute name="Value" type="s:string" />
</xs:complexType>
</xs:element>
元素和属性
如果架构定义了特定要求(如 sequence、 minOccurs、 maxOccurs 和 choice),请参阅定义部分。
父元素
元素 | 类型 | 说明 |
---|---|---|
参数 | coercionParametersType | 参数元素的容器,其中包含强制方法签名中参数的说明。 |
子元素
元素 | 类型 | 说明 |
---|---|---|
ActivityBody | 指定自定义操作的正文。 |
属性
属性 | 类型 | 必需 | 说明 | 可能的值 |
---|---|---|---|---|
名称 | s:string | 必需 | 用作强制操作的活动参数的名称。 | s:string 类型的值。 |
类型 | s:string | 必需 | 参数的数据类型。 | s:string 类型的值。 |
值 | s:string | 可选 | 要为活动参数设置的值。 | s:string 类型的值。 |