PSNoteProperty PSNoteProperty PSNoteProperty Class


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

public class PSNoteProperty : System.Management.Automation.PSPropertyInfo
type PSNoteProperty = class
    inherit PSPropertyInfo
Public Class PSNoteProperty
Inherits PSPropertyInfo


PSNoteProperty(String, Object) PSNoteProperty(String, Object) PSNoteProperty(String, Object)

Initializes a new instance of the PSNoteProperty class.


IsGettable IsGettable IsGettable

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

IsInstance IsInstance IsInstance Inherited from PSMemberInfo
IsSettable IsSettable IsSettable

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

MemberType MemberType MemberType

Gets PSMemberTypes.NoteProperty

Name Name Name Inherited from PSMemberInfo
TypeNameOfValue TypeNameOfValue TypeNameOfValue

Gets the type of the value for this member

Value Value Value

Gets or sets the value of this property


Copy() Copy() Copy()

returns a new PSMemberInfo that is a copy of this PSMemberInfo

SetMemberName(String) SetMemberName(String) SetMemberName(String) Inherited from PSMemberInfo
ToString() ToString() ToString()

Returns the string representation of this property

Applies to