SecurityTokenHandlerCollection::SetItem Method (Int32, SecurityTokenHandler^)

.NET Framework (current version)
 

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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected:
virtual void SetItem(
	int index,
	SecurityTokenHandler^ item
) override

Parameters

index
Type: System::Int32

The zero-based index of the element to replace.

item
Type: System.IdentityModel.Tokens::SecurityTokenHandler^

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

.NET Framework
Available since 4.5
Return to top
Show: