ExpressionPrefixAttribute Constructor (String^)

 

Initializes a new instance of the ExpressionPrefixAttribute class.

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

public:
ExpressionPrefixAttribute(
	String^ expressionPrefix
)

Parameters

expressionPrefix
Type: System::String^

The prefix of the current ExpressionBuilder.

Exception Condition
ArgumentNullException

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

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

.NET Framework
Available since 2.0
Return to top
Show: