ActionParameters 中的 ActionParameter 元素(BDCMetadata 架构)
上次修改时间: 2015年3月9日
适用范围: SharePoint Server 2010
指定基于 URL 的操作的参数。该参数定义如何使用特定于 EntityInstance 的数据来将某个操作的 URL 参数化。
**命名空间:**https://schemas.microsoft.com/windows/2007/BusinessDataCatalog
**架构:**BDCMetadata
基于 URL 的操作的 URL 属性可通过 ActionParameter 元素接受参数。
重要说明 |
---|
ActionParameters 既可表示标识符值,也可表示与 Entity 的 SpecificFinder 中的 TypeDescriptors 相对应的值。当显示 IdOrdinal 属性时,ActionParameter 表示一个标识符值。该属性值指定 ActionParameter 所表示的值的标识符的索引。如果未指定 IdOrdinal 属性,则 ActionParameter 表示一个 TypeDescriptor,且 Name 属性指定所表示的类型描述符。将 Name 属性指定为 Dotted Path。 |
ActionParameter 元素接受以下属性。
重要说明 |
---|
属性区分大小写。 |
属性
属性 |
类型 |
说明 |
必需。 |
默认值 |
限制/接受的值 |
---|---|---|---|---|---|
IdOrdinal |
System.Int32 |
指定 ActionParameter 是否表示一个标识符而不是一个字段。 |
可选 |
<ActionParameter Index = "Integer" Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </ActionParameter>
属性和元素
以下各部分介绍了属性、子元素和父元素。
属性
属性 |
说明 |
---|---|
Index |
必需。 一个序号属性,用于指定此 ActionParameter 在 URL 中的其他 ActionParameters 中的位置。 属性类型:Integer |
Name |
必需。 ActionParameter 的名称。 属性类型:String |
DefaultDisplayName |
可选。 ActionParameter 的默认显示名称。 属性类型:String |
IsCached |
可选。 指定是否频繁使用此 ActionParameter。BDC 客户端运行时使用该属性来缓存此 Action。 默认值:true 属性类型:Boolean |
子元素
元素 |
说明 |
---|---|
ActionParameter 的本地化显示名。 |
|
ActionParameter 的属性。 |
父元素
Element |
说明 |
---|---|
包含此 ActionParameter 的 ActionParameters 元素。 |