Share via


IVariableResolver.ResolveVariableOwnership(String, String, Boolean) Method

Definition

Prompts the user to decide whether to take ownership of a variable, or to let the parser automate the process.

public:
 ManagedBatchParser::ParserAction ResolveVariableOwnership(System::String ^ varName, System::String ^ varValue, Boolean& bTakeOwmership);
public ManagedBatchParser.ParserAction ResolveVariableOwnership (string varName, string varValue, Boolean& bTakeOwmership);
Public Function ResolveVariableOwnership (varName As String, varValue As String, bTakeOwmership As Boolean&) As ParserAction

Parameters

varName
String

The name of the variable.

varValue
String

The value of the variable.

bTakeOwmership
Boolean

True if the user decides to take ownership. False if the user lets the parser automate the process.

Returns

The parser action, either Abort or Continue

Applies to