共用方式為


RouteCollection.Item[Int32] 屬性

定義

取得指定索引處的路由。

public:
 property Microsoft::AspNetCore::Routing::IRouter ^ default[int] { Microsoft::AspNetCore::Routing::IRouter ^ get(int index); };
public Microsoft.AspNetCore.Routing.IRouter this[int index] { get; }
member this.Item(int) : Microsoft.AspNetCore.Routing.IRouter
Default Public ReadOnly Property Item(index As Integer) As IRouter

參數

index
Int32

屬性值

位於指定索引處的路由。

適用於