AppSettingsExpressionEditor.GetExpressionEditorSheet Method (String, IServiceProvider)

 

Returns an expression editor sheet for an application setting expression.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

Public Overrides Function GetExpressionEditorSheet (
	expression As String,
	serviceProvider As IServiceProvider
) As ExpressionEditorSheet

Parameters

expression
Type: System.String

The expression string set for a control property, used to initialize the expression editor sheet. expression does not include the AppSettings expression prefix.

serviceProvider
Type: System.IServiceProvider

A service provider implementation supplied by the designer host, used to obtain additional design-time services.

Return Value

Type: System.Web.UI.Design.ExpressionEditorSheet

An ExpressionEditorSheet implementation that defines the application setting expression properties.

The GetExpressionEditorSheet method returns a simple editor sheet implementation, which uses a single input string to form the expression.

.NET Framework
Available since 2.0
Return to top
Show: