PSNoteProperty Class

Definition

Serves as a property that is a simple name-value pair.

public class PSNoteProperty : System.Management.Automation.PSPropertyInfo
Inheritance
Derived

Inherited Members

System.Management.Automation.PSMemberInfo

Constructors

PSNoteProperty(String, Object)

Initiializes a new instance of the PSNoteProperty class.

Properties

IsGettable

Gets true since the value of an PSNoteProperty can always be obtained

IsSettable

Gets true since the value of an PSNoteProperty can always be set

MemberType

Gets PSMemberTypes.NoteProperty

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

ToString()

Returns the string representation of this property