Edit

Share via


ExpressionBuilder(String, String) Constructor

Definition

Initializes a new instance of the ExpressionBuilder class.

public:
 ExpressionBuilder(System::String ^ expressionPrefix, System::String ^ theType);
public ExpressionBuilder (string expressionPrefix, string theType);
new System.Web.Configuration.ExpressionBuilder : string * string -> System.Web.Configuration.ExpressionBuilder
Public Sub New (expressionPrefix As String, theType As String)

Parameters

expressionPrefix
String

A string that identifies the type of expression to retrieve.

theType
String

A string that specifies the expression type.

Examples

The following code example demonstrates how to create an ExpressionBuilder object. This code example is part of a larger example provided for the ExpressionBuilderCollection class.

// Create a new ExpressionBuilder reference.
ExpressionBuilder myExpressionBuilder =
  new ExpressionBuilder("myCustomExpression", "MyCustomExpressionBuilder");
' Create a new ExpressionBuilder reference.
Dim myExpressionBuilder As ExpressionBuilder = _
  New ExpressionBuilder("myCustomExpression", "MyCustomExpressionBuilder")

Applies to