PSMemberSet PSMemberSet PSMemberSet Class

Definition

Serves as a set of members

public class PSMemberSet : System.Management.Automation.PSMemberInfo
type PSMemberSet = class
    inherit PSMemberInfo
Public Class PSMemberSet
Inherits PSMemberInfo
Inheritance

Constructors

PSMemberSet(String) PSMemberSet(String) PSMemberSet(String)

Initializes a new instance of PSMemberSet with no initial members

PSMemberSet(String, IEnumerable<PSMemberInfo>) PSMemberSet(String, IEnumerable<PSMemberInfo>) PSMemberSet(String, IEnumerable<PSMemberInfo>)

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

Properties

InheritMembers InheritMembers InheritMembers

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

IsInstance IsInstance IsInstance Inherited from PSMemberInfo
MemberType MemberType MemberType

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

Members Members Members

Gets the member collection

Methods Methods Methods

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

Name Name Name Inherited from PSMemberInfo
Properties Properties Properties

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

TypeNameOfValue TypeNameOfValue TypeNameOfValue

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

Value Value Value

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

Methods

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 member

Applies to