Edit

Share via


ExpressionPrefixAttribute(String) Constructor

Definition

Initializes a new instance of the ExpressionPrefixAttribute class.

public:
 ExpressionPrefixAttribute(System::String ^ expressionPrefix);
public ExpressionPrefixAttribute (string expressionPrefix);
new System.Web.Compilation.ExpressionPrefixAttribute : string -> System.Web.Compilation.ExpressionPrefixAttribute
Public Sub New (expressionPrefix As String)

Parameters

expressionPrefix
String

The prefix of the current ExpressionBuilder.

Exceptions

expressionPrefix is null or an empty string ("").

Remarks

Use the ExpressionPrefixAttribute constructor to initialize an instance of the ExpressionPrefixAttribute class using a prefix identifier. The ExpressionPrefixAttribute is the parameterless constructor for the ExpressionPrefixAttribute class.

Applies to

See also