IOptionsContextReceiver.Receive<T>(String, T) 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.
Adds a key-value pair to the context.
public:
generic <typename T>
void Receive(System::String ^ key, T value);
public void Receive<T> (string key, T value);
abstract member Receive : string * 'T -> unit
Public Sub Receive(Of T) (key As String, value As T)
Type Parameters
- T
The type of the data.
Parameters
- key
- String
The name of the data.
- value
- T
The data used to determine how to populate contextual options.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.