Looking for System.Management.Automation.CommandCompletion functionality RRS feed

  • Question

  • While working on a PowerShell hosting application, I'm passing a user's input to the PowerShell engine, and then, displaying its output in my application.

    The class I've just found here:


    would be very useful for me to get all user's input auto-completed.

    But unfortunately, this class is not found in my .Net 4 Framework.

    So, I'm trying to invoke the TabExpansion PS function directly, but it completes only commands, and doesn't complete other stuff.

    Where can I find the CommandCompletion functionality?

    • Moved by Mike Feng Friday, December 14, 2012 6:47 AM (From:.NET Base Class Library)
    Thursday, December 13, 2012 4:38 PM