共用方式為


ICommandExecuter.IncludeFileName(String, IBatchSource) Method

Definition

Parses the given file, as if the file is part of the current file.

public:
 ManagedBatchParser::ParserAction IncludeFileName(System::String ^ fileName, ManagedBatchParser::IBatchSource& ^ ppIBatchSource);
public ManagedBatchParser.ParserAction IncludeFileName (string fileName, ManagedBatchParser.IBatchSource& ppIBatchSource);
Public Function IncludeFileName (fileName As String, ppIBatchSource As IBatchSource&) As ParserAction

Parameters

fileName
String

The file name.

ppIBatchSource
IBatchSource

A pointer to the IBatchSource interface.

Returns

The parser action, either Abort or Continue.

Applies to