BaseActionMethodRequestBuilder<T>.SetParameter<U> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A helper method for injecting a parameter string for a given name and value pair. This method handles the nullable case and properly wrapped and escaping string values.
protected void SetParameter<U> (string name, U value, bool nullable);
member this.SetParameter : string * 'U * bool -> unit
Protected Sub SetParameter(Of U) (name As String, value As U, nullable As Boolean)
Type Parameters
- U
The type of the value parameter.
Parameters
- name
- String
The parameter name.
- value
- U
The parameter value.
- nullable
- Boolean
A flag specifying whether the parameter is allowed to be null.