DefaultDirectRouteProvider.GetAreaPrefix(ControllerDescriptor) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Pobiera prefiks obszaru z podanego kontrolera.
protected virtual string GetAreaPrefix (System.Web.Mvc.ControllerDescriptor controllerDescriptor);
abstract member GetAreaPrefix : System.Web.Mvc.ControllerDescriptor -> string
override this.GetAreaPrefix : System.Web.Mvc.ControllerDescriptor -> string
Protected Overridable Function GetAreaPrefix (controllerDescriptor As ControllerDescriptor) As String
Parametry
- controllerDescriptor
- ControllerDescriptor
Deskryptor kontrolera.
Zwraca
Prefiks obszaru lub wartość null.