Bagikan melalui


PSNoteProperty Class

Definition

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

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

Constructors

PSNoteProperty(String, Object)

Initializes a new instance of the PSNoteProperty class.

Properties

IsGettable

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

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 since the value of an PSNoteProperty can always be set.

MemberType

Gets PSMemberTypes.NoteProperty.

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