VCReferences::AddReferenceToFileEx Method (String^, Boolean)
Visual Studio 2015
Adds a reference to a file.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Parameters
- Path
-
Type:
System::String^
Path to the file.
- created
-
Type:
System::Boolean
When this method returns, contains true if the reference is created; otherwise, false. This parameter is passed uninitialized.
An exception is thrown if a file reference cannot be found.
This method is the same as the AddReferenceToFile method, but includes the created parameter to support interoperability.
Show: