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
声明
Function CanAddReferenceToFile ( _
Path As String _
) As Boolean
用法
Dim instance As VCReferences
Dim Path As String
Dim returnValue As Boolean
returnValue = instance.CanAddReferenceToFile(Path)
bool CanAddReferenceToFile(
string Path
)
bool CanAddReferenceToFile(
[InAttribute] String^ Path
)
function CanAddReferenceToFile(
Path : String
) : boolean
Parameters
Path
Type: System.StringPath to the reference.
Return Value
Type: System.Boolean
Permissions
- 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.