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
實作

建構函式

名稱 Description
AuthenticationInfoCollection()

初始化一個新的類別實例 AuthenticationInfoCollection ,使用預設屬性值。

AuthenticationInfoCollection(AuthenticationInfo[], Int32)

初始化一個新實例 AuthenticationInfoCollection ,使用指定的條目與預設索引參數。

AuthenticationInfoCollection(AuthenticationInfo[])

初始化類別的新實例 AuthenticationInfoCollection ,並以指定的條目參數。

欄位

名稱 Description
def

定義一個值,指定預設索引。

entries

定義認證資訊收集的內容。

syncObject

定義一個物件,代表發送/接收群組,讓使用者能配置不同的同步方式。

屬性

名稱 Description
Count

取得集合中實際包含的元素數量。

DefaultIndex

取得或設定集合中預設物件的索引。

IsSynchronized

取得值,指出是否同步存取集合。

Item[Int32]

回傳集合物件的特定元素,可依位置或鍵回傳。 這個屬性是唯讀的。

SyncRoot

取得一個物件,可用來同步存取 Collection 物件。

方法

名稱 Description
Add(AuthenticationInfo)

將驗證資訊加入收藏。

CopyTo(Array, Int32)

將 ICollection 介面的元素複製到陣列,從特定的陣列索引開始。

FindByAuthenticationType(Int32)

表示依其認證類型搜尋的資訊收集。

GetEnumerator()

擷取一個列舉器物件的參考,用於遍歷集合物件。

適用於