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

Return Value

Type: System.Boolean
true if a file reference can be added; otherwise, false.

.NET Framework Security

See Also

Reference

VCReferences Interface

Microsoft.VisualStudio.VCProjectEngine Namespace