VCReferences.AddReferenceToFile(String) VCReferences.AddReferenceToFile(String) VCReferences.AddReferenceToFile(String) Method

Definition

Adds a reference to a file.

[System.Runtime.InteropServices.DispId(912)]
public object AddReferenceToFile (string Path);
abstract member AddReferenceToFile : string -> obj
Public Function AddReferenceToFile (Path As String) As Object
Parameters
Path
String String String

Path to the file.

Returns

A reference to a file.

Remarks

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

Applies to