Share via


EventLogRecord.GetPropertyValues(EventLogPropertySelector) 方法

定义

获取用户提供的事件属性值的枚举,或基于 XPath 的数据的结果(如果事件具有 XML 表示形式)。

public:
 System::Collections::Generic::IList<System::Object ^> ^ GetPropertyValues(System::Diagnostics::Eventing::Reader::EventLogPropertySelector ^ propertySelector);
public System.Collections.Generic.IList<object> GetPropertyValues (System.Diagnostics.Eventing.Reader.EventLogPropertySelector propertySelector);
member this.GetPropertyValues : System.Diagnostics.Eventing.Reader.EventLogPropertySelector -> System.Collections.Generic.IList<obj>
Public Function GetPropertyValues (propertySelector As EventLogPropertySelector) As IList(Of Object)

参数

propertySelector
EventLogPropertySelector

选择要返回的属性值。

返回

返回对象的列表。

适用于

另请参阅