Redigera

Dela via


SecurityTokenHandlerCollection.SetItem(Int32, SecurityTokenHandler) Method

Definition

Replaces the token handler at the specified index in the collection with the specified handler.

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)

Parameters

index
Int32

The zero-based index of the element to replace.

item
SecurityTokenHandler

The new token handler for the element at the specified index.

Applies to