ConvertThroughString 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.
Enables a type that only has conversion from string to be converted from all other types through string.
public ref class ConvertThroughString : System::Management::Automation::PSTypeConverterpublic class ConvertThroughString : System.Management.Automation.PSTypeConvertertype ConvertThroughString = class
    inherit PSTypeConverterPublic Class ConvertThroughString
Inherits PSTypeConverter- Inheritance
Remarks
It is permitted to subclass ConvertThroughString but there is no established scenario for doing this, nor has it been tested.
Constructors
| ConvertThroughString() | 
Methods
| CanConvertFrom(Object, Type) | This will return false only if sourceValue is string. | 
| CanConvertFrom(PSObject, Type) | Determines if the converter can convert the  | 
| CanConvertTo(Object, Type) | Returns false, since this converter is not designed to be used to convert from the type associated with the converted to other types. | 
| CanConvertTo(PSObject, Type) | Returns true if the converter can convert the  | 
| ConvertFrom(Object, Type, IFormatProvider, Boolean) | Converts to destinationType by first converting sourceValue to string and then converting the result to destinationType. | 
| ConvertFrom(PSObject, Type, IFormatProvider, Boolean) | Converts the  | 
| ConvertTo(Object, Type, IFormatProvider, Boolean) | Throws NotSupportedException, since this converter is not designed to be used to convert from the type associated with the converted to other types. | 
| ConvertTo(PSObject, Type, IFormatProvider, Boolean) | Converts the  |