Partilhar via


PSParameterizedProperty Class

Definition

Used to access parameterized properties from the BaseObject.

public ref class PSParameterizedProperty : System::Management::Automation::PSMethodInfo
public class PSParameterizedProperty : System.Management.Automation.PSMethodInfo
type PSParameterizedProperty = class
    inherit PSMethodInfo
Public Class PSParameterizedProperty
Inherits PSMethodInfo
Inheritance
PSParameterizedProperty

Remarks

It is permitted to subclass PSParameterizedProperty but there is no established scenario for doing this, nor has it been tested.

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)
OverloadDefinitions

Returns a collection of the definitions for this property.

TypeNameOfValue

Gets the type of the value for this member.

Value

Gets the value of this member. The getter returns the PSMethodInfo itself.

(Inherited from PSMethodInfo)

Methods

Copy()

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

Invoke(Object[])

Invokes the getter method and returns its result.

InvokeSet(Object, Object[])

Invokes the setter method.

SetMemberName(String)

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

(Inherited from PSMemberInfo)
ToString()

Returns the string representation of this member.

Applies to