ActionParameterDefinitions 中的 ConstantParameter 元素(SolutionManifestDeclarativeExtensions 架构)

上次修改时间: 2015年3月9日

适用范围: SharePoint Server 2010

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

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

架构:SolutionManifestDeclarativeExtensions

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

属性和元素

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

属性

属性

说明

值类型

将传递给基于代码的操作方法的参数的 .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 中的 Parameters 元素(SolutionManifestDeclarativeExtensions 架构)

包含操作的所有参数的 Parameters 元素。