Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft