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 AddReferenceToFileEx ( _
Path As String, _
<OutAttribute> ByRef created As Boolean _
) As Object
Object AddReferenceToFileEx(
string Path,
out bool created
)
Object^ AddReferenceToFileEx(
[InAttribute] String^ Path,
[OutAttribute] bool% created
)
abstract AddReferenceToFileEx :
Path:string *
created:bool byref -> Object
function AddReferenceToFileEx(
Path : String,
created : boolean
) : Object
Parameters
Path
Type: StringPath to the file.
created
Type: Boolean%When this method returns, contains true if the reference is created; otherwise, false. This parameter is passed uninitialized.
Return Value
Type: Object
A reference to a file.
Remarks
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.
.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.