EventLogRecord.GetPropertyValues(EventLogPropertySelector) 方法
定义
获取用户提供的事件属性值的枚举,或基于 XPath 的数据的结果(如果事件具有 XML 表示形式)。Gets the enumeration of the values of the user-supplied event properties, or the results of XPath-based data if the event has XML representation.
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
选择要返回的属性值。Selects the property values to return.
返回
返回对象的列表。Returns a list of objects.