ClaimCollection.IndexOf Method
Determines the index of a specific Claim object in the ClaimCollection.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As ClaimCollection Dim item As Claim Dim returnValue As Integer returnValue = instance.IndexOf(item)
Syntax
'Declaration
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
Parameter
- item
The claim to locate.
Rückgabewert
Returns Int32. This is the index of item if found in the list; otherwise, -1.
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
ClaimCollection Class
ClaimCollection Members
Microsoft.IdentityModel.Claims Namespace