C# Класс Nettiers.AdventureWorks.Web.Data.CustomParameter

Binds a user-defined value to a parameter object.
Наследование: System.Web.UI.WebControls.Parameter
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
CustomParameter ( ) : System

Initializes a new unnamed instance of the CustomParameter class.

CustomParameter ( CustomParameter original ) : System

Initializes a new instance of the CustomParameter class with the values of the instance specified by the original parameter.

CustomParameter ( String name ) : System

Initializes a new named instance of the CustomParameter class.

CustomParameter ( String name, Object value ) : System

Initializes a new named instance of the CustomParameter class, using the specified value.

CustomParameter ( String name, String value ) : System

Initializes a new named instance of the CustomParameter class, using the specified value.

CustomParameter ( String name, TypeCode type, String value ) : System

Initializes a new named and strongly typed instance of the CustomParameter class, using the specified property name to identify which System.Web.UI.DataSourceSelectArguments property to bind to.

Защищенные методы

Метод Описание
Evaluate ( HttpContext context, Control control ) : Object

Updates and returns the value of the CustomParameter object.

Описание методов

CustomParameter() публичный Метод

Initializes a new unnamed instance of the CustomParameter class.
public CustomParameter ( ) : System
Результат System

CustomParameter() публичный Метод

Initializes a new instance of the CustomParameter class with the values of the instance specified by the original parameter.
public CustomParameter ( CustomParameter original ) : System
original CustomParameter A CustomParameter from which the current instance is initialized.
Результат System

CustomParameter() публичный Метод

Initializes a new named instance of the CustomParameter class.
public CustomParameter ( String name ) : System
name String The name of the parameter.
Результат System

CustomParameter() публичный Метод

Initializes a new named instance of the CustomParameter class, using the specified value.
public CustomParameter ( String name, Object value ) : System
name String The name of the parameter.
value Object The user-defined value that the parameter is bound to. /// The default is a String.Emtpy.
Результат System

CustomParameter() публичный Метод

Initializes a new named instance of the CustomParameter class, using the specified value.
public CustomParameter ( String name, String value ) : System
name String The name of the parameter.
value String The user-defined value that the parameter is bound to. /// The default is a String.Emtpy.
Результат System

CustomParameter() публичный Метод

Initializes a new named and strongly typed instance of the CustomParameter class, using the specified property name to identify which System.Web.UI.DataSourceSelectArguments property to bind to.
public CustomParameter ( String name, TypeCode type, String value ) : System
name String The name of the parameter.
type TypeCode The type that the parameter represents. The default is System.TypeCode.Object.
value String The user-defined value that the parameter is bound to. /// The default is a String.Empty.
Результат System

Evaluate() защищенный Метод

Updates and returns the value of the CustomParameter object.
protected Evaluate ( HttpContext context, Control control ) : Object
context System.Web.HttpContext The current System.Web.HttpContext of the request.
control System.Web.UI.Control The System.Web.UI.Control that the parameter is bound to.
Результат Object