Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CommandCompletion Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides a set of possible completions for a given partial input. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.CommandCompletion

public class CommandCompletion

NameDescription
System_CAPS_pubmethodCommandCompletion(Collection<CompletionResult>, Int32, Int32, Int32)

Creates a new instance of the CommandCompletion class, using the specified parameters.

NameDescription
System_CAPS_pubpropertyCompletionMatches

Gets the completion results. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyCurrentMatchIndex

Gets or sets the current index in CompletionMatches. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyReplacementIndex

Gets the starting replacement index from the original input. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyReplacementLength

Gets the length of the text to replace from the original input. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCompleteInput(Ast, Token[], IScriptPosition, Hashtable)

Retrieves a command based on an abstract syntax tree of the script, Windows PowerShell language tokens, the cursor position within the script, and configuration options. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticCompleteInput(Ast, Token[], IScriptPosition, Hashtable, PowerShell)

Retrieves a command based on an abstract syntax tree of the script, Windows PowerShell language tokens, the cursor position within the script, configuration options, and a PowerShell that is used to invoke the TabExpansion2 internal script function. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticCompleteInput(String, Int32, Hashtable)

Retrieves a command based on partial user input, the cursor position, and configuration options. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticCompleteInput(String, Int32, Hashtable, PowerShell)

Retrieves a command based on partial user input, the cursor position, configuration options, and a PowerShell that is used to invoke the TabExpansion2 internal script function. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNextResult(Boolean)

Retrieves the next result, moving forward or backward. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticMapStringInputToParsedInput(String, Int32)

Converts script text and position information into an abstract syntax tree, language tokens, and a script position object. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft