The CommandParameter type exposes the following members.

Constructors

  Name Description
Public method CommandParameter(String, Object)
Initializes a new instance of the CommandParameter class using the same value for Name and PropertyName.
Public method CommandParameter(String, String, IList)
Initializes a new instance of the CommandParameter class allowing different values for Name and PropertyName and a list of values.
Public method CommandParameter(String, String, Object)
Initializes a new instance of the CommandParameter class allowing different values for Name and PropertyName.

Methods

  Name Description
Public method AddValues
Adds a list of values to the parameter.
Public method Clone
Creates a new object that is a copy of the current instance.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Name
Gets or sets the parameter name.
Public property PropertyName
Gets or sets the name of the item property to which the parameter is "bound" for formatting purposes.
Public property Values
Gets or sets the parameter values.

See Also