PSMemberSet Class

Definition

Serves as a set of members

public class PSMemberSet : System.Management.Automation.PSMemberInfo
Inheritance
PSMemberSet

Inherited Members

System.Management.Automation.PSMemberInfo

Constructors

PSMemberSet(String)

Initializes a new instance of PSMemberSet with no initial members

PSMemberSet(String, IEnumerable<PSMemberInfo>)

Initializes a new instance of PSMemberSet with all the initial members in members

Properties

InheritMembers

Gets a flag indicating whether the memberset will inherit members of the memberset of the same name in the "parent" class.

Members

Gets the member collection

MemberType

Gets the member type. For PSMemberSet the member type is PSMemberTypes.MemberSet.

Methods

Gets the Method collection, or the members that are actually methods.

Properties

Gets the Property collection, or the members that are actually properties.

TypeNameOfValue

Gets the type of the value for this member. This returns typeof(PSMemberSet).FullName.

Value

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

Methods

Copy()

returns a new PSMemberInfo that is a copy of this PSMemberInfo

ToString()

Returns the string representation of this member