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

Adapts row columns as object properties for a Record.
상속: System.Management.Automation.PSPropertyAdapter
파일 보기 프로젝트 열기: heaths/psmsi 1 사용 예제들

공개 메소드들

메소드 설명
GetOperation ( System.Management.Automation.PSObject obj ) : RowOperation

Gets the operation performed on this Record by a patch or transform for use in code methods.

GetPath ( System.Management.Automation.PSObject obj ) : string

Gets the path to the package that contains this Record for use in code methods.

GetProperties ( object baseObject ) : Collection

Gets a collection of properties for a Record.

GetProperty ( object baseObject, string propertyName ) : System.Management.Automation.PSAdaptedProperty

Gets a property for a Record with the given name.

GetPropertyTypeName ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : string

Gets the native Type name for the property value.

GetPropertyValue ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : object

Gets the property value.

GetQuery ( System.Management.Automation.PSObject obj ) : string

Gets the query string that returned the Record for use in code methods.

GetTypeNameHierarchy ( object baseObject ) : Collection

Adds the table name, if available, to the beginning of the type name hierarchy.

IsGettable ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : bool

Gets whether the property is gettable.

IsSettable ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : bool

Gets whether the property is settable.

SetPropertyValue ( System.Management.Automation.PSAdaptedProperty adaptedProperty, object value ) : void

Sets the property value.

비공개 메소드들

메소드 설명
EnsurePropertyCache ( Record record ) : PropertySet
GetPropertyValue ( System.Management.Automation.PSAdaptedProperty adaptedProperty, Record record ) : object

메소드 상세

GetOperation() 공개 정적인 메소드

Gets the operation performed on this Record by a patch or transform for use in code methods.
public static GetOperation ( System.Management.Automation.PSObject obj ) : RowOperation
obj System.Management.Automation.PSObject The that wraps a .
리턴 RowOperation

GetPath() 공개 정적인 메소드

Gets the path to the package that contains this Record for use in code methods.
public static GetPath ( System.Management.Automation.PSObject obj ) : string
obj System.Management.Automation.PSObject The that wraps a .
리턴 string

GetProperties() 공개 메소드

Gets a collection of properties for a Record.
public GetProperties ( object baseObject ) : Collection
baseObject object The to adapt.
리턴 Collection

GetProperty() 공개 메소드

Gets a property for a Record with the given name.
public GetProperty ( object baseObject, string propertyName ) : System.Management.Automation.PSAdaptedProperty
baseObject object The to adapt.
propertyName string The column name of a .
리턴 System.Management.Automation.PSAdaptedProperty

GetPropertyTypeName() 공개 메소드

Gets the native Type name for the property value.
The property did not contain enough information to complete this operation.
public GetPropertyTypeName ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : string
adaptedProperty System.Management.Automation.PSAdaptedProperty The property to check.
리턴 string

GetPropertyValue() 공개 메소드

Gets the property value.
The property did not contain enough information to complete this operation.
public GetPropertyValue ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : object
adaptedProperty System.Management.Automation.PSAdaptedProperty The property to get.
리턴 object

GetQuery() 공개 정적인 메소드

Gets the query string that returned the Record for use in code methods.
public static GetQuery ( System.Management.Automation.PSObject obj ) : string
obj System.Management.Automation.PSObject The that wraps a .
리턴 string

GetTypeNameHierarchy() 공개 메소드

Adds the table name, if available, to the beginning of the type name hierarchy.
public GetTypeNameHierarchy ( object baseObject ) : Collection
baseObject object The to process.
리턴 Collection

IsGettable() 공개 메소드

Gets whether the property is gettable.
public IsGettable ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : bool
adaptedProperty System.Management.Automation.PSAdaptedProperty The property to check.
리턴 bool

IsSettable() 공개 메소드

Gets whether the property is settable.
public IsSettable ( System.Management.Automation.PSAdaptedProperty adaptedProperty ) : bool
adaptedProperty System.Management.Automation.PSAdaptedProperty The property to check.
리턴 bool

SetPropertyValue() 공개 메소드

Sets the property value.
The operation is not supported.
public SetPropertyValue ( System.Management.Automation.PSAdaptedProperty adaptedProperty, object value ) : void
adaptedProperty System.Management.Automation.PSAdaptedProperty The property to set.
value object The property value to set.
리턴 void