System.Web.UI.WebControls.Parameter Members

The members of System.Web.UI.WebControls.Parameter are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new default instance of the System.Web.UI.WebControls.Parameter class.

Initializes a new instance of the System.Web.UI.WebControls.Parameter class, using the specified name.

Initializes a new instance of the System.Web.UI.WebControls.Parameter class, using the specified name and type.

Initializes a new instance of the System.Web.UI.WebControls.Parameter class, using the specified name, the specified type, and the specified string for its Parameter.DefaultValue property.

Protected Constructors

Initializes a new instance of the System.Web.UI.WebControls.Parameter class with the values of the original, specified instance.

Public Properties

ConvertEmptyStringToNullbool.

Gets or sets a value indicating whether the value that the System.Web.UI.WebControls.Parameter object is bound to should be converted to null if it is string.Empty.

DefaultValuestring.

Specifies a default value for the parameter, should the value that the parameter is bound to be uninitialized when the Parameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method is called.

DirectionSystem.Data.ParameterDirection.

Indicates whether the System.Web.UI.WebControls.Parameter object is used to bind a value to a control, or the control can be used to change the value.

Namestring.

Gets or sets the name of the parameter.

Sizeint.

Gets or sets the size of the parameter.

TypeTypeCode.

Gets or sets the type of the parameter.

Protected Properties

[read-only]
IsTrackingViewStatebool.

Gets a value indicating whether the System.Web.UI.WebControls.Parameter object is saving changes to its view state.

[read-only]
ViewStateSystem.Web.UI.StateBag.

Gets a dictionary of state information that allows you to save and restore the view state of a System.Web.UI.WebControls.Parameter object across multiple requests for the same page.

Public Methods

override
ToString() : string

Converts the value of this instance to its equivalent string representation.

Protected Methods

Clone() : Parameter

Returns a duplicate of the current System.Web.UI.WebControls.Parameter instance.

Evaluate(System.Web.HttpContext, System.Web.UI.Control) : object

Updates and returns the value of the System.Web.UI.WebControls.Parameter object.

LoadViewState(object)

Restores the data source view's previously saved view state.

OnParameterChanged()

Calls the ParameterCollection.OnParametersChanged(EventArgs) method of the System.Web.UI.WebControls.ParameterCollection collection that contains the System.Web.UI.WebControls.Parameter object.

SaveViewState() : object

Saves the changes to the System.Web.UI.WebControls.Parameter object's view state since the time the page was posted back to the server.

SetDirty()

Marks the System.Web.UI.WebControls.Parameter object so its state will be recorded in view state.

TrackViewState()

Causes the System.Web.UI.WebControls.Parameter object to track changes to its view state so they can be stored in the control's System.Web.UI.Control.ViewState object and persisted across requests for the same page.

Explicitly Implemented Interface Members

ICloneable.Clone

Returns a duplicate of the current System.Web.UI.WebControls.Parameter instance.

[read-only]
System.Web.UI.IStateManager.IsTrackingViewStatebool.

Gets a value indicating whether the System.Web.UI.WebControls.Parameter object is saving changes to its view state.

System.Web.UI.IStateManager.LoadViewState

Restores the data source view's previously saved view state.

System.Web.UI.IStateManager.SaveViewState

Saves the changes to the System.Web.UI.WebControls.Parameter object's view state since the time the page was posted back to the server.

System.Web.UI.IStateManager.TrackViewState

Causes the System.Web.UI.WebControls.Parameter object to track changes to its view state so they can be stored in the control's System.Web.UI.Control.ViewState object and persisted across requests for the same page.