ActionParameterDefinitions 中的 ConstantParameter 元素

(SolutionManifestDeclarativeExtensions 架构)

适用于:SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

ConstantParameter 元素为操作定义常数参数。

命名空间http://schemas.microsoft.com/office/2009/05/BusinessApplications/Manifest/DeclarativeExtensions

架构:SolutionManifestDeclarativeExtensions

<ConstantParameter  ValueType = "String" Value = "String" Name = "String" Description = "String"> </ConstantParameter>

元素和属性

下面各部分介绍了属性、子元素和父元素。

Attributes

属性

说明

**ValueType**

将传递给基于代码的操作方法的参数的 .NET 类型名称。 必须为下列名称之一:


System.Boolean

System.Byte

System.SByte

System.Char

System.Decimal

System.Double

System.Single

System.Int32

System.UInt32

System.Int64

System.UInt64

System.Int16

System.UInt16

System.String

System.Guid

System.DateTime

必需。

属性类型: **String**

**值**

参数的常数值。

必需。

属性类型: **String**

**名称**

常数参数的名称。

必需。

属性类型: **String**

**说明**

参数的说明。

可选。

属性类型: **String**

子元素

无。

父元素

元素 说明
ActionDefinition (SolutionManifestDeclarativeExtensions 架构中的 Parameters 元素) 包含操作的所有参数的 Parameters 元素。