IDataParameter.ParameterName Property

Definition

Gets or sets the name of the IDataParameter.

public:
 property System::String ^ ParameterName { System::String ^ get(); void set(System::String ^ value); };
public string ParameterName { get; set; }
member this.ParameterName : string with get, set
Public Property ParameterName As String

Property Value

A string containing the name of the parameter.

Remarks

The ParameterName is specified in the form @paramname. You must set the ParameterName property before executing a command that relies on parameters.

Applies to