Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a reference to a file.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Function AddReferenceToFile ( _
Path As String _
) As Object
Object AddReferenceToFile(
string Path
)
Object^ AddReferenceToFile(
[InAttribute] String^ Path
)
abstract AddReferenceToFile :
Path:string -> Object
function AddReferenceToFile(
Path : String
) : Object
Parameters
Path
Type: StringPath to the file.
Return Value
Type: Object
A reference to a file.
Remarks
An exception is thrown if a file reference cannot be found.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.