Udostępnij za pośrednictwem


PSMemberSet Class

Definition

Serves as a set of members.

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

Constructors

PSMemberSet(String, IEnumerable<PSMemberInfo>)

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

PSMemberSet(String)

Initializes a new instance of PSMemberSet with no initial members.

Properties

InheritMembers

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

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)
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.

Name

Gets the member name.

(Inherited from PSMemberInfo)
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.

SetMemberName(String)

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

(Inherited from PSMemberInfo)
ToString()

Returns the string representation of this member.

Applies to