Condividi tramite


PSProperty Class

Definition

Used to access the adapted or base properties from the BaseObject.

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

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.

Name

Gets the member name.

(Inherited from PSMemberInfo)
TypeNameOfValue

Gets the type of the value for this member.

Value

Gets or sets the value of this property.

Methods

Copy()

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

SetMemberName(String)

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

(Inherited from PSMemberInfo)
ToString()

Returns the string representation of this property.

Applies to