Dela via


ResourceUsageUnitTypeConverter Class

Definition

Unit of the usage. e.g. count.

public class ResourceUsageUnitTypeConverter : System.Management.Automation.PSTypeConverter
type ResourceUsageUnitTypeConverter = class
    inherit PSTypeConverter
Public Class ResourceUsageUnitTypeConverter
Inherits PSTypeConverter
Inheritance
ResourceUsageUnitTypeConverter

Constructors

ResourceUsageUnitTypeConverter()

Methods

CanConvertFrom(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

CanConvertTo(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

ConvertFrom(Object, Type, IFormatProvider, Boolean)

Converts the sourceValue parameter to the destinationType parameter using formatProvider and ignoreCase

ConvertTo(Object, Type, IFormatProvider, Boolean)

NotImplemented -- this will return null

Applies to