Partilhar via


PSPropertyInfo Class

Definition

Serves as a base class for all members that behave like properties.

public ref class PSPropertyInfo abstract : System::Management::Automation::PSMemberInfo
public abstract class PSPropertyInfo : System.Management.Automation.PSMemberInfo
type PSPropertyInfo = class
    inherit PSMemberInfo
Public MustInherit Class PSPropertyInfo
Inherits PSMemberInfo
Inheritance
PSPropertyInfo
Derived

Constructors

PSPropertyInfo()

Initializes a new instance of an PSPropertyInfo derived class.

Properties

IsGettable

Gets true if this property can be read.

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.

MemberType

Gets the member type.

(Inherited from PSMemberInfo)
Name

Gets the member name.

(Inherited from PSMemberInfo)
TypeNameOfValue

Gets the type of the value for this member.

(Inherited from PSMemberInfo)
Value

Gets and Sets the value of this member.

(Inherited from PSMemberInfo)

Methods

Copy()

Returns a new PSMemberInfo that is a copy of this PSMemberInfo.

(Inherited from PSMemberInfo)
SetMemberName(String)

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

(Inherited from PSMemberInfo)

Applies to