A Sandcastle Documented Class Library

# ProviderElementExpression DefineElementPlaceholder Method

Defines a data element placeholder for the current expression.

Namespace: Dundas.BI.Data.Transforms
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public DataElementPlaceholder DefineElementPlaceholder(
    	string caption,
    	ConnectorElement element
    )

    Public Function DefineElementPlaceholder (
    	caption As String,
    	element As ConnectorElement
    ) As DataElementPlaceholder

    public:
    DataElementPlaceholder^ DefineElementPlaceholder(
    	String^ caption,
    	ConnectorElement^ element
    )

    member DefineElementPlaceholder :
            caption : string *
            element : ConnectorElement -> DataElementPlaceholder

#### Parameters

caption
  Type: System
  String
  The caption used in the statement.
element
  Type: Dundas.BI.Data.Transforms
  ConnectorElement
  The data element.

#### Return Value

Type: DataElementPlaceholder
The data element placeholder.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | element is .
ArgumentException | caption is or Empty or already in use.

See Also

#### Reference

ProviderElementExpression Class
Dundas.BI.Data.Transforms Namespace