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

指定索引处元素的新令牌处理程序。

适用于