Partager via


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

Définition

Remplace le Endpoint à fourni par index le fourni 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)

Paramètres

index
Int32

Index candidat.

endpoint
Endpoint

Endpoint pour remplacer l’original Endpoint au niveau de .index Si endpoint est null. le candidat sera marqué comme non valide.

values
RouteValueDictionary

RouteValueDictionary pour remplacer l’original RouteValueDictionary au niveau de .index

S’applique à