ExpressionBuilder(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.