PSMemberInfoCollection<T>
Class
Definition
Serves as the collection of members in an PSObject or MemberSet
public abstract class PSMemberInfoCollection<T> : System.Collections.Generic.IEnumerable<T> where T : PSMemberInfo
Type Parameters
- T
- Inheritance
-
PSMemberInfoCollection<T>
- Implements
-
IEnumerable<T>
Constructors
| PSMemberInfoCollection<T>() |
Initializes a new instance of an PSMemberInfoCollection derived class |
Properties
| Item[String] |
Gets the member in this collection matching name. If the member does not exist, null is returned. |
Methods
| Add(T) |
Adds a member to this collection |
| Add(T, Boolean) |
Adds a member to this collection |
| GetEnumerator() |
Gets the specific enumerator for this collection. |
| Match(String) |
Returns all members in the collection matching name |
| Match(String, PSMemberTypes) |
Returns all members in the collection matching name and types |
| Remove(String) |
Removes a member from this collection |
Explicit Interface Implementations
| IEnumerable.GetEnumerator() |
Gets the general enumerator for this collection |