Compartilhar via


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

Definição

Substitui o Endpoint no fornecido index pelo fornecido 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

O índice do candidato.

endpoint
Endpoint

O Endpoint para substituir o original Endpoint no index. Se endpoint for null. o candidato será marcado como inválido.

values
RouteValueDictionary

O RouteValueDictionary para substituir o original RouteValueDictionary no index.

Aplica-se a