ICustomFunctionOperatorFormattable.Format(Type, String[]) Method

When implemented by a custom function, formats a database-specific SQL command that corresponds to this function.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v20.2.dll

Declaration

string Format(
    Type providerType,
    params string[] operands
)
Function Format(
    providerType As Type,
    ParamArray operands As String()
) As String

Parameters

Name Type Description
providerType Type

A Type object specifying a data store (database) provider. For example, MSSqlConnectionProvider.

operands String[]

An array of operands (parameters) passed to a custom function.

Returns

Type Description
String

A String specifying a SQL command, which will substitute a custom function's calls in query statements.

See Also