Partager via


PSAdaptedProperty Class

Definition

A property created by a user-defined PSPropertyAdapter.

public ref class PSAdaptedProperty : System::Management::Automation::PSProperty
public class PSAdaptedProperty : System.Management.Automation.PSProperty
type PSAdaptedProperty = class
    inherit PSProperty
Public Class PSAdaptedProperty
Inherits PSProperty
Inheritance

Constructors

PSAdaptedProperty(String, Object)

Creates a property for the given base object.

Properties

BaseObject

Gets the object the property belongs to.

IsGettable

Gets true if this property can be read.

(Inherited from PSProperty)
IsInstance

True if this member has been added to the instance as opposed to coming from the adapter or from type data.

(Inherited from PSMemberInfo)
IsSettable

Gets true if this property can be set.

(Inherited from PSProperty)
MemberType

Gets the member type.

(Inherited from PSProperty)
Name

Gets the member name.

(Inherited from PSMemberInfo)
Tag

Gets the data attached to this property.

TypeNameOfValue

Gets the type of the value for this member.

(Inherited from PSProperty)
Value

Gets or sets the value of this property.

(Inherited from PSProperty)

Methods

Copy()

Copy an adapted property.

SetMemberName(String)

Allows a derived class to set the member name...

(Inherited from PSMemberInfo)
ToString()

Returns the string representation of this property.

(Inherited from PSProperty)

Applies to