共用方式為


PSMemberInfo Class

Definition

Serves as the base class for all members of an PSObject.

public ref class PSMemberInfo abstract
public abstract class PSMemberInfo
type PSMemberInfo = class
Public MustInherit Class PSMemberInfo
Inheritance
PSMemberInfo
Derived

Constructors

PSMemberInfo()

Initializes a new instance of an PSMemberInfo derived class.

Properties

IsInstance

True if this member has been added to the instance as opposed to coming from the adapter or from type data.

MemberType

Gets the member type.

Name

Gets the member name.

TypeNameOfValue

Gets the type of the value for this member.

Value

Gets and Sets the value of this member.

Methods

Copy()

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

SetMemberName(String)

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

Applies to