Επεξεργασία

Κοινή χρήση μέσω


PageParserFilter.ProcessDataBindingAttribute(String, String, String) Method

Definition

Returns a value that indicates whether the parser filter processes a data binding expression in an attribute.

public:
 virtual bool ProcessDataBindingAttribute(System::String ^ controlId, System::String ^ name, System::String ^ value);
public virtual bool ProcessDataBindingAttribute (string controlId, string name, string value);
abstract member ProcessDataBindingAttribute : string * string * string -> bool
override this.ProcessDataBindingAttribute : string * string * string -> bool
Public Overridable Function ProcessDataBindingAttribute (controlId As String, name As String, value As String) As Boolean

Parameters

controlId
String

The ID of the control that contains the data binding attribute.

name
String

The name of the attribute with the data binding expression.

value
String

The data binding expression.

Returns

true if the parser filter processes data binding attributes; otherwise, false. The default is false.

Remarks

You can override the ProcessDataBindingAttribute method to allow the parser filter to process data binding expressions when implementing a custom PageParserFilter class. An example of a data binding expression used with an attribute is <%# expression %>.

ProcessDataBindingAttribute is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to