Поделиться через


Метод ClaimsIdentityCollection.Insert

Inserts a T:Microsoft.IdentityModel.Claims.IClaimsIdentity at the specified index.

Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

    Dim instance As ClaimsIdentityCollection
Dim index As Integer
Dim item As IClaimsIdentity

instance.Insert(index, item)

Синтаксис

'Декларация
Public Sub Insert ( _
    index As Integer, _
    item As IClaimsIdentity _
)
public void Insert (
    int index,
    IClaimsIdentity item
)
public:
virtual void Insert (
    int index, 
    IClaimsIdentity^ item
) sealed
public final void Insert (
    int index, 
    IClaimsIdentity item
)
public final function Insert (
    index : int, 
    item : IClaimsIdentity
)

Параметры

  • index
    The zero-based index at which to insert the T:Microsoft.IdentityModel.Claims.IClaimsIdentity.
  • item
    The T:Microsoft.IdentityModel.Claims.IClaimsIdentity to insert.

Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также

Справочник

Класс ClaimsIdentityCollection
ClaimsIdentityCollection Члены
Пространство имен Microsoft.IdentityModel.Claims