UrlRouteContext.Protocol 属性

定义

生成的 URL RouteUrl(UrlRouteContext) 的协议,例如“http”或“https”

public:
 property System::String ^ Protocol { System::String ^ get(); void set(System::String ^ value); };
public string Protocol { get; set; }
public string? Protocol { get; set; }
member this.Protocol : string with get, set
Public Property Protocol As String

属性值

适用于