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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET