共用方式為


KeysController.Get 方法

定義

多載

Get()
Get(String)

Get()

[System.Web.Http.HttpGet]
[System.Web.Http.Route("admin/host/{keys:regex(^(keys|functionkeys|systemkeys)$)}")]
public System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult> Get ();
[<System.Web.Http.HttpGet>]
[<System.Web.Http.Route("admin/host/{keys:regex(^(keys|functionkeys|systemkeys)$)}")>]
member this.Get : unit -> System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult>
Public Function Get () As Task(Of IHttpActionResult)

傳回

Task<System.Web.Http.IHttpActionResult>
屬性
System.Web.Http.HttpGetAttribute System.Web.Http.RouteAttribute

適用於

Get(String)

[System.Web.Http.HttpGet]
[System.Web.Http.Route("admin/functions/{name}/keys")]
public System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult> Get (string name);
[<System.Web.Http.HttpGet>]
[<System.Web.Http.Route("admin/functions/{name}/keys")>]
member this.Get : string -> System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult>
Public Function Get (name As String) As Task(Of IHttpActionResult)

參數

name
String

傳回

Task<System.Web.Http.IHttpActionResult>
屬性
System.Web.Http.HttpGetAttribute System.Web.Http.RouteAttribute

適用於