EnabledStateTypeConverter Class

Definition

Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'

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

Constructors

EnabledStateTypeConverter()

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