다음을 통해 공유


PSVersionHashTable Class

Definition

Represents an implementation of '$PSVersionTable' variable. The implementation contains ordered 'Keys' and 'GetEnumerator' to get user-friendly output.

public ref class PSVersionHashTable sealed : System::Collections::Hashtable
public sealed class PSVersionHashTable : System.Collections.Hashtable
type PSVersionHashTable = class
    inherit Hashtable
    interface IEnumerable
Public NotInheritable Class PSVersionHashTable
Inherits Hashtable
Inheritance
PSVersionHashTable
Implements

Properties

Keys

Returns ordered collection with Keys of 'PSVersionHashTable' We want see special order: 1. PSVersionName 2. PSEditionName 3. Remaining properties in alphabetical order.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator for 'PSVersionHashTable'. The enumeration is ordered (based on ordered version of 'Keys').

Applies to