你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventDataConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A PowerShell PSTypeConverter to adapt an EventData
object that has been passed.
Usually used between modules.
public class EventDataConverter : System.Management.Automation.PSTypeConverter
type EventDataConverter = class
inherit PSTypeConverter
Public Class EventDataConverter
Inherits PSTypeConverter
- Inheritance
-
EventDataConverter
Constructors
EventDataConverter() |
Methods
CanConvertFrom(Object, Type) | |
CanConvertFrom(Object) |
Verifies that a given object has the required members to convert it to the target type (EventData) Uses a dynamic type so that it is able to use the simplest code without excessive checking. |
CanConvertTo(Object, Type) | |
ConvertFrom(Object, Type, IFormatProvider, Boolean) | |
ConvertFrom(Object) |
Converts an incoming object to the expected type by treating the incoming object as a dynamic, and coping the expected values. |
ConvertTo(Object, Type, IFormatProvider, Boolean) |