Freigeben über


VCProject.IncludeHeaderFile(String, String) Method

Definition

Adds a #include HeaderFile directive to a pre-compiled header file, or to a specified file.

public:
 void IncludeHeaderFile(System::String ^ HeaderFile, System::String ^ FileName);
public:
 void IncludeHeaderFile(Platform::String ^ HeaderFile, Platform::String ^ FileName);
void IncludeHeaderFile(std::wstring const & HeaderFile, std::wstring const & FileName);
[System.Runtime.InteropServices.DispId(879)]
public void IncludeHeaderFile (string HeaderFile, string FileName);
[<System.Runtime.InteropServices.DispId(879)>]
abstract member IncludeHeaderFile : string * string -> unit
Public Sub IncludeHeaderFile (HeaderFile As String, FileName As String)

Parameters

HeaderFile
String

File name of the header file that is to be included in an existing header, or in a header file created with the FileName as the file name.

FileName
String

The file name of a file to which to add the #include directive, if the project does not include a pre-compiled header file.

Attributes

Applies to