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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈