C# Класс Microsoft.Tools.WindowsInstaller.PowerShell.AttributeColumnTypeConverter

Converts an Int32 (or nullable) to an AttributeColumn.
Наследование: System.Management.Automation.PSTypeConverter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CanConvertFrom ( object sourceValue, Type destinationType ) : bool

Always returns false.

CanConvertTo ( object sourceValue, Type destinationType ) : bool

Returns true if the destinationType is an Int32 (or nullable).

ConvertFrom ( object sourceValue, Type destinationType, IFormatProvider formatProvider, bool ignoreCase ) : object

Always returns null.

ConvertTo ( object sourceValue, Type destinationType, IFormatProvider formatProvider, bool ignoreCase ) : object

Returns an Int32 (or null) from an AttributeColumn.

Описание методов

CanConvertFrom() публичный Метод

Always returns false.
public CanConvertFrom ( object sourceValue, Type destinationType ) : bool
sourceValue object The value to convert from.
destinationType System.Type The type to convert to.
Результат bool

CanConvertTo() публичный Метод

Returns true if the destinationType is an Int32 (or nullable).
public CanConvertTo ( object sourceValue, Type destinationType ) : bool
sourceValue object Should always be an .
destinationType System.Type The type to convert to.
Результат bool

ConvertFrom() публичный Метод

Always returns null.
Conversion to the type is not supported.
public ConvertFrom ( object sourceValue, Type destinationType, IFormatProvider formatProvider, bool ignoreCase ) : object
sourceValue object The vaue to convert from.
destinationType System.Type The type to convert to.
formatProvider IFormatProvider An to use during conversion.
ignoreCase bool Whether to ignore case during conversion.
Результат object

ConvertTo() публичный Метод

Returns an Int32 (or null) from an AttributeColumn.
Conversion to the is not supported.
public ConvertTo ( object sourceValue, Type destinationType, IFormatProvider formatProvider, bool ignoreCase ) : object
sourceValue object The to convert.
destinationType System.Type The type to convert to.
formatProvider IFormatProvider An to use during conversion.
ignoreCase bool Whether to ignore case during conversion.
Результат object