Determines the index of a specific IClaimsIdentity object.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

Visual Basic
Dim instance As ClaimsIdentityCollection
Dim item As IClaimsIdentity
Dim returnValue As Integer

returnValue = instance.IndexOf(item)

Синтаксис

Visual Basic
Public Function IndexOf ( _
		item As IClaimsIdentity _
) As Integer
C#
public int IndexOf (
		IClaimsIdentity item
)
C++
public:
virtual int IndexOf (
		IClaimsIdentity^ item
) sealed
J#
public final int IndexOf (
		IClaimsIdentity item
)
JScript
public final function IndexOf (
		item : IClaimsIdentity
) : int

Параметры

item

The IClaimsIdentity to locate.

Возвращаемое значение

Returns Int32. This is the index of item if found in the list; otherwise, -1.

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

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

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.