Freigeben über


ClaimCollection.Item Property

Gets or sets the element at the specified index of the ClaimCollection.

Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim instance As ClaimCollection
Dim index As Integer
Dim value As Claim

value = instance(index)

instance(index) = value

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As Claim
public Claim this [
    int index
] { get; set; }
public:
virtual property Claim^ default [int] {
    Claim^ get (int index) sealed;
    void set (int index, Claim^ value) sealed;
}
/** @property */
public final Claim get_Item (int index)

/** @property */
public final void set_Item (int index, Claim value)

Parameter

  • index
    The zero-based index of the element.

Eigenschaftenwert

Returns Claim. This is the element at the specified index.

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