VCReferences.CanAddReferenceToFile Method
Returns a value indicating whether to add the given file reference.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Function CanAddReferenceToFile ( _
Path As String _
) As Boolean
bool CanAddReferenceToFile(
string Path
)
bool CanAddReferenceToFile(
[InAttribute] String^ Path
)
abstract CanAddReferenceToFile :
Path:string -> bool
function CanAddReferenceToFile(
Path : String
) : boolean
Parameters
Path
Type: System.StringPath to the reference.
Return Value
Type: System.Boolean
true if a file reference can be added; otherwise, false.
.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.