Метод ClaimsIdentityCollection.IndexOf
Determines the index of a specific IClaimsIdentity object.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim instance As ClaimsIdentityCollection Dim item As IClaimsIdentity Dim returnValue As Integer returnValue = instance.IndexOf(item)
Синтаксис
'Декларация
Public Function IndexOf ( _
item As IClaimsIdentity _
) As Integer
public int IndexOf (
IClaimsIdentity item
)
public:
virtual int IndexOf (
IClaimsIdentity^ item
) sealed
public final int IndexOf (
IClaimsIdentity item
)
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
См. также
Справочник
Класс ClaimsIdentityCollection
ClaimsIdentityCollection Члены
Пространство имен Microsoft.IdentityModel.Claims