RouteBase.GetDefaults(RouteTemplate, RouteValueDictionary) Methode

Definition

Ruft die Standardwerte für Parameter in vorlagen ab.

protected:
 static Microsoft::AspNetCore::Routing::RouteValueDictionary ^ GetDefaults(Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ parsedTemplate, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults);
protected static Microsoft.AspNetCore.Routing.RouteValueDictionary GetDefaults (Microsoft.AspNetCore.Routing.Template.RouteTemplate parsedTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults);
protected static Microsoft.AspNetCore.Routing.RouteValueDictionary GetDefaults (Microsoft.AspNetCore.Routing.Template.RouteTemplate parsedTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults);
static member GetDefaults : Microsoft.AspNetCore.Routing.Template.RouteTemplate * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.RouteValueDictionary
Protected Shared Function GetDefaults (parsedTemplate As RouteTemplate, defaults As RouteValueDictionary) As RouteValueDictionary

Parameter

parsedTemplate
RouteTemplate

Eine RouteTemplate-Instanz.

defaults
RouteValueDictionary

Eine Auflistung von Standardwerten für jeden Parameter.

Gibt zurück

Gilt für: