Partilhar via


Parameter Element in Parameters (BDCMetadata Schema)

Applies to: SharePoint Server 2010

Specifies a parameter of a method.

Namespace: https://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Schema: BDCMetadata

<Parameter Direction = "String" Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </Parameter>

Attributes and Elements

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

Attributes

Attribute

Description

Direction

Required.

The direction of the parameter.

The following table lists the possible values for this attribute.

Value

Description

In

The represented Parameter is an input parameter.

Out

The represented parameter is an output parameter.

InOut

The represented parameter is an input and output parameter. In C#, these correspond to "ref".

Return

The represented parameter is a return parameter.

Name

Required.

The name of the parameter.

Attribute type: String

DefaultDisplayName

Optional.

The default display name of the parameter.

Attribute type: String

IsCached

Optional.

Specifies whether the Parameter is used frequently.

Default value: true

Attribute type: Boolean

Child Elements

Element

Description

LocalizedDisplayNames Element in MetadataObject (BDCMetadata Schema)

The localized names of the parameter.

Properties Element in MetadataObject (BDCMetadata Schema)

The properties of the parameter.

TypeDescriptor

The root type descriptor of the parameter.

Parent Elements

Element

Description

Parameters Element in Method (BDCMetadata Schema)

The Parameters element that contains this parameter.