Share via


ConstantParameter Element in ActionParameterDefinitions (SolutionManifestDeclarativeExtensions Schema)

Applies to: SharePoint Server 2010

The ConstantParameter element defines a constant parameter for an action.

Namespace: https://schemas.microsoft.com/office/2009/05/BusinessApplications/Manifest/DeclarativeExtensions

Schema: SolutionManifestDeclarativeExtensions

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

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

ValueType

The .NET type name of the parameter to be passed to the method of a code-based action. Must be one of the following:

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

Required.

Attribute type: String

Value

The constant value of the parameter.

Required.

Attribute type: String

Name

A name for the constant parameter.

Required.

Attribute type: String

Description

A description for the parameter.

Optional.

Attribute type: String

Child Elements

None.

Parent Elements

Element

Description

Parameters Element in ActionDefinition (SolutionManifestDeclarativeExtensions Schema)

The Parameters element that contains all of the parameters of an action.