VCReferences::AddReferenceToFile Method (String^)

 

Adds a reference to a file.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Object^ AddReferenceToFile(
	String^ Path
)

Parameters

Path
Type: System::String^

Path to the file.

Return Value

Type: System::Object^

A reference to a file.

An exception is thrown if a file reference cannot be found.

Return to top
Show: