Поделиться через


Свойство ClaimCollection.Item

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

Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

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

value = instance(index)

instance(index) = value

Синтаксис

'Декларация
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)

Параметры

  • index
    The zero-based index of the element.

Значение свойства

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

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

Любые открытые статические члены (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