FormattedLogValues 類別

定義

使用 所支援選項格式化的 Format 記錄值集合。 此類型也會在格式字串中使用 {NamedformatItem}。

public ref class FormattedLogValues : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyList<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>
public class FormattedLogValues : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,object>>
type FormattedLogValues = class
    interface IReadOnlyList<KeyValuePair<string, obj>>
    interface IReadOnlyCollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
type FormattedLogValues = class
    interface IReadOnlyList<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IReadOnlyCollection<KeyValuePair<string, obj>>
Public Class FormattedLogValues
Implements IEnumerable(Of KeyValuePair(Of String, Object)), IReadOnlyCollection(Of KeyValuePair(Of String, Object)), IReadOnlyList(Of KeyValuePair(Of String, Object))
繼承
FormattedLogValues
實作

備註

此 API 支援 .NET 基礎結構,不適合直接從您的程式碼使用。

建構函式

FormattedLogValues(String, Object[])

此 API 支援 .NET 基礎結構,不適合直接從您的程式碼使用。

屬性

Count

取得集合中的項目數。

Item[Int32]

取得唯讀清單中指定索引處的項目。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEnumerator()

傳回逐一查看集合的列舉值。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

此 API 支援 .NET 基礎結構,不適合直接從您的程式碼使用。

明確介面實作

IEnumerable.GetEnumerator()

傳回逐一查看集合的列舉值。

擴充方法

CopyToDataTable<T>(IEnumerable<T>)

根據輸入 DataTable 物件 (其中泛型參數 TDataRow) 傳回包含 IEnumerable<T> 物件複本的 DataRow

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

根據輸入 DataRow 物件 (其中泛型參數 TDataTable),將 IEnumerable<T> 物件複製到指定的 DataRow

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

根據輸入 DataRow 物件 (其中泛型參數 TDataTable),將 IEnumerable<T> 物件複製到指定的 DataRow

適用於