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>)

在给定其泛型参数 TDataTable 的输入 DataRow 对象的情况下,返回包含 IEnumerable<T> 对象副本的 DataRow

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

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRow

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

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRow

适用于