AuthenticationInfoCollection 类

定义

表示一个表,该表包含用于填充连接对话框的简单视图的身份验证标签。

public ref class AuthenticationInfoCollection : System::Collections::ICollection
public class AuthenticationInfoCollection : System.Collections.ICollection
type AuthenticationInfoCollection = class
    interface ICollection
    interface IEnumerable
Public Class AuthenticationInfoCollection
Implements ICollection
继承
AuthenticationInfoCollection
实现

构造函数

AuthenticationInfoCollection()

使用默认属性值初始化 AuthenticationInfoCollection 类的新实例。

AuthenticationInfoCollection(AuthenticationInfo[])

使用指定的条目参数初始化 AuthenticationInfoCollection 类的新实例。

AuthenticationInfoCollection(AuthenticationInfo[], Int32)

使用指定的条目和默认索引参数初始化 AuthenticationInfoCollection 类的新实例。

字段

def

定义指定默认索引的值。

entries

定义身份验证信息集合的内容。

syncObject

定义一个对象,该对象表示允许用户配置不同的同步的发送/接收组。

属性

Count

获取集合中实际包含的元素数。

DefaultIndex

获取或设置集合中默认对象的索引。

IsSynchronized

获取一个值,该值指示是否同步对集合的访问。

Item[Int32]

按位置或键返回集合对象的一个特定元素。 此属性为只读。

SyncRoot

获取用于同步对集合对象的访问的对象。

方法

Add(AuthenticationInfo)

向集合添加身份验证信息。

CopyTo(Array, Int32)

将 ICollection 接口的元素复制到某一数组,从特定数组索引处开始复制。

FindByAuthenticationType(Int32)

指示按其身份验证类型搜索的信息集合。

GetEnumerator()

检索对用于遍历集合对象的枚举器对象的引用。

适用于