ExpressionBuilder Constructor (String, String)


Initializes a new instance of the ExpressionBuilder class.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public ExpressionBuilder(
	string expressionPrefix,
	string theType


Type: System.String

A string that identifies the type of expression to retrieve.

Type: System.String

A string that specifies the expression type.

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");

.NET Framework
Available since 2.0
Return to top