ReadOnlyPSMemberInfoCollection<T>
Class
Definition
Serves as a read only collection of members
public class ReadOnlyPSMemberInfoCollection<T> : System.Collections.Generic.IEnumerable<T> where T : PSMemberInfo
Type Parameters
- T
- Inheritance
-
ReadOnlyPSMemberInfoCollection<T>
- Implements
-
IEnumerable<T>
Remarks
It is permitted to subclass ReadOnlyPSMemberInfoCollection<T> but there is no established scenario for doing this, nor has it been tested.
Properties
| Count |
Gets the number of elements in this collection |
| Item[Int32] |
Returns the 0 based member identified by index |
| Item[String] |
Return the member in this collection matching name. If the member does not exist, null is returned. |
Methods
| 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 |
Explicit Interface Implementations
| IEnumerable.GetEnumerator() |
Gets the general enumerator for this collection |