Редагувати

Поділитися через


ConnectionStringsExpressionEditor Class

Definition

Provides properties and methods for selecting a data connection expression that is associated with a control property at design time.

public ref class ConnectionStringsExpressionEditor : System::Web::UI::Design::ExpressionEditor
public class ConnectionStringsExpressionEditor : System.Web.UI.Design.ExpressionEditor
type ConnectionStringsExpressionEditor = class
    inherit ExpressionEditor
Public Class ConnectionStringsExpressionEditor
Inherits ExpressionEditor
Inheritance
ConnectionStringsExpressionEditor

Remarks

A visual designer host, such as Visual Studio 2005, uses the ConnectionStringsExpressionEditor class to select a connection string from the connectionStrings configuration section.

The ConnectionStringsExpressionEditor class is derived from the ExpressionEditor class, and although it is public for technical reasons, there is no advantage in deriving from it.

Constructors

ConnectionStringsExpressionEditor()

Initializes a new instance of the ConnectionStringsExpressionEditor class.

Properties

ExpressionPrefix

Gets the expression prefix that identifies expression strings that are supported by the expression editor implementation.

(Inherited from ExpressionEditor)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
EvaluateExpression(String, Object, Type, IServiceProvider)

Evaluates a connection string expression and provides the design-time value for a control property.

GetExpressionEditorSheet(String, IServiceProvider)

Returns an expression editor sheet for a connection string expression.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also