你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TimeSpanTypeConverter 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 support converting to an instance of TimeSpan
public class TimeSpanTypeConverter : System.Management.Automation.PSTypeConverter
type TimeSpanTypeConverter = class
inherit PSTypeConverter
Public Class TimeSpanTypeConverter
Inherits PSTypeConverter
- Inheritance
-
TimeSpanTypeConverter
Constructors
TimeSpanTypeConverter() |
Methods
CanConvertFrom(Object) |
Determines if the converter can convert the |
CanConvertFrom(Object, Type) |
Determines if the converter can convert the |
CanConvertTo(Object, Type) |
Determines if the |
ConvertFrom(Object) |
Converts the |
ConvertFrom(Object, Type, IFormatProvider, Boolean) |
Converts the |
ConvertTo(Object, Type, IFormatProvider, Boolean) |
NotImplemented -- this will return |