Share via


SecurityTokenHandlerCollection.SetItem(Int32, SecurityTokenHandler) 方法

定義

以指定的處理常式取代集合中指定索引處的語彙基元處理常式。

protected:
 override void SetItem(int index, System::IdentityModel::Tokens::SecurityTokenHandler ^ item);
protected override void SetItem (int index, System.IdentityModel.Tokens.SecurityTokenHandler item);
override this.SetItem : int * System.IdentityModel.Tokens.SecurityTokenHandler -> unit
Protected Overrides Sub SetItem (index As Integer, item As SecurityTokenHandler)

參數

index
Int32

要取代的項目之以零起始的索引。

item
SecurityTokenHandler

指定之索引處的項目的新權杖處理常式。

適用於