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