Parameter Members

Provides a mechanism that data source controls use to bind to application variables, user identities and choices, and other data. Serves as the base class for all ASP.NET parameter types.

The following tables list the members exposed by the Parameter type.

(see also Protected Constructors )
  Name Description
Public method Parameter Overloaded. Initializes a new instance of the Parameter class.
Top

  Name Description
Protected method Parameter Overloaded. Initializes a new instance of the Parameter class.
Top

(see also Protected Properties )
  Name Description
Public property ConvertEmptyStringToNull Gets or sets a value indicating whether the value that the Parameter object is bound to should be converted to a null reference (Nothing in Visual Basic) if it is String.Empty.
Public property DefaultValue Specifies a default value for the parameter, should the value that the parameter is bound to be uninitialized when the Evaluate method is called.
Public property Direction Indicates whether the Parameter object is used to bind a value to a control, or the control can be used to change the value.
Public property Name Gets or sets the name of the parameter.
Public property Size Gets or sets the size of the parameter.
Public property Type Gets or sets the type of the parameter.
Top

  Name Description
Protected property IsTrackingViewState Gets a value indicating whether the Parameter object is saving changes to its view state.
Protected property ViewState Gets a dictionary of state information that allows you to save and restore the view state of a Parameter object across multiple requests for the same page.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Converts the value of this instance to its equivalent string representation.
Top

  Name Description
Protected method Clone Returns a duplicate of the current Parameter instance.
Protected method Evaluate Updates and returns the value of the Parameter object.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method LoadViewState Restores the data source view's previously saved view state.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnParameterChanged Calls the OnParametersChanged method of the ParameterCollection collection that contains the Parameter object.
Protected method SaveViewState Saves the changes to the Parameter object's view state since the time the page was posted back to the server.
Protected method SetDirty Marks the Parameter object so its state will be recorded in view state.
Protected method TrackViewState Causes the Parameter object to track changes to its view state so they can be stored in the control's ViewState object and persisted across requests for the same page.
Top

  Name Description
Explicit interface implementation Method System.ICloneable.Clone Returns a duplicate of the current Parameter instance.
Explicit interface implementation Method System.Web.UI.IStateManager.LoadViewState Restores the data source view's previously saved view state.
Explicit interface implementation Method System.Web.UI.IStateManager.SaveViewState Saves the changes to the Parameter object's view state since the time the page was posted back to the server.
Explicit interface implementation Method System.Web.UI.IStateManager.TrackViewState Causes the Parameter object to track changes to its view state so they can be stored in the control's ViewState object and persisted across requests for the same page.
Explicit interface implementation Property System.Web.UI.IStateManager.IsTrackingViewState Gets a value indicating whether the Parameter object is saving changes to its view state.
Top

Community Additions

ADD
Show: