This documentation is archived and is not being maintained.
Parameter Members
Visual Studio 2008
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 Parameter type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clone | Returns a duplicate of the current Parameter instance. |
|
ConvertDbTypeToTypeCode | Converts a DbType value to an equivalent TypeCode value. |
|
ConvertTypeCodeToDbType | Converts a TypeCode value to an equivalent DbType value. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Evaluate | Updates and returns the value of the Parameter object. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetDatabaseType | Gets the DbType value that is equivalent to the CLR type of the current Parameter instance. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
LoadViewState | Restores the data source view's previously saved view state. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnParameterChanged | Calls the OnParametersChanged method of the ParameterCollection collection that contains the Parameter object. |
|
SaveViewState | Saves the changes to the Parameter object's view state since the time the page was posted back to the server. |
|
SetDirty | Marks the Parameter object so its state will be recorded in view state. |
|
ToString | Converts the value of this instance to its equivalent string representation. (Overrides Object::ToString().) |
|
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. |
| Name | Description | |
|---|---|---|
|
ConvertEmptyStringToNull | Gets or sets a value indicating whether the value that the Parameter object is bound to should be converted to nullptr if it is String::Empty. |
|
DbType | Gets or sets the database type of the parameter. |
|
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. |
|
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. |
|
IsTrackingViewState | Gets a value indicating whether the Parameter object is saving changes to its view state. |
|
Name | Gets or sets the name of the parameter. |
|
Size | Gets or sets the size of the parameter. |
|
Type | Gets or sets the type of the parameter. |
|
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. |
| Name | Description | |
|---|---|---|
|
ICloneable::Clone | Returns a duplicate of the current Parameter instance. |
|
IStateManager::IsTrackingViewState | Infrastructure. Gets a value indicating whether the Parameter object is saving changes to its view state. |
|
IStateManager::LoadViewState | Infrastructure. Restores the data source view's previously saved view state. |
|
IStateManager::SaveViewState | Infrastructure. Saves the changes to the Parameter object's view state since the time the page was posted back to the server. |
|
IStateManager::TrackViewState | Infrastructure. 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. |
Show: