C# 클래스 Microsoft.Tools.WindowsInstaller.PowerShell.AttributeColumnTypeConverter

Converts an Int32 (or nullable) to an AttributeColumn.
상속: System.Management.Automation.PSTypeConverter
파일 보기 프로젝트 열기: heaths/psmsi 1 사용 예제들

공개 메소드들

메소드 설명
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