ExpressionPrefixAttribute Constructor (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: