Condividi tramite


CommandCompletion.MapStringInputToParsedInput(String, Int32) Method

Definition

public:
 static Tuple<System::Management::Automation::Language::Ast ^, cli::array <System::Management::Automation::Language::Token ^> ^, System::Management::Automation::Language::IScriptPosition ^> ^ MapStringInputToParsedInput(System::String ^ input, int cursorIndex);
public static Tuple<System.Management.Automation.Language.Ast,System.Management.Automation.Language.Token[],System.Management.Automation.Language.IScriptPosition> MapStringInputToParsedInput (string input, int cursorIndex);
static member MapStringInputToParsedInput : string * int -> System.Management.Automation.Language.Ast * System.Management.Automation.Language.Token[] * System.Management.Automation.Language.IScriptPosition
Public Shared Function MapStringInputToParsedInput (input As String, cursorIndex As Integer) As Tuple(Of Ast, Token(), IScriptPosition)

Parameters

input
String
cursorIndex
Int32

Returns

Applies to