Compartir a través de


CandidateSet.ReplaceEndpoint(Int32, Endpoint, RouteValueDictionary) Método

Definición

Reemplaza en Endpoint el elemento proporcionado index por el proporcionado endpoint.

public:
 void ReplaceEndpoint(int index, Microsoft::AspNetCore::Http::Endpoint ^ endpoint, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public void ReplaceEndpoint (int index, Microsoft.AspNetCore.Http.Endpoint endpoint, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
public void ReplaceEndpoint (int index, Microsoft.AspNetCore.Http.Endpoint? endpoint, Microsoft.AspNetCore.Routing.RouteValueDictionary? values);
member this.ReplaceEndpoint : int * Microsoft.AspNetCore.Http.Endpoint * Microsoft.AspNetCore.Routing.RouteValueDictionary -> unit
Public Sub ReplaceEndpoint (index As Integer, endpoint As Endpoint, values As RouteValueDictionary)

Parámetros

index
Int32

Índice candidato.

endpoint
Endpoint

que Endpoint se va a reemplazar el original Endpoint en .index Si endpoint es null. el candidato se marcará como no válido.

values
RouteValueDictionary

que RouteValueDictionary se va a reemplazar el original RouteValueDictionary en .index

Se aplica a