Gets or sets the element at the specified index of the collection.
命名空间: Microsoft.IdentityModel.Claims
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim instance As ClaimsIdentityCollection Dim index As Integer Dim value As IClaimsIdentity value = instance(index) instance(index) = value
语法
声明
Public Default Property Item ( _
    index As Integer _
) As IClaimsIdentity
public IClaimsIdentity this [
    int index
] { get; set; }
public:
virtual property IClaimsIdentity^ default [int] {
    IClaimsIdentity^ get (int index) sealed;
    void set (int index, IClaimsIdentity^ value) sealed;
}
/** @property */
public final IClaimsIdentity get_Item (int index)
/** @property */
public final void set_Item (int index, IClaimsIdentity value)
参数
- index
 The zero-based index of the element.
属性值
Returns IClaimsIdentity. This is the element at the specified index.
线程安全
此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
ClaimsIdentityCollection 类
ClaimsIdentityCollection 成员
Microsoft.IdentityModel.Claims 命名空间