VCReferences.CanAddReferenceToFile(String) 方法

定义

返回一个值,该值指示是否要添加给定的文件引用。

public:
 bool CanAddReferenceToFile(System::String ^ Path);
public:
 bool CanAddReferenceToFile(Platform::String ^ Path);
bool CanAddReferenceToFile(std::wstring const & Path);
[System.Runtime.InteropServices.DispId(913)]
public bool CanAddReferenceToFile (string Path);
[<System.Runtime.InteropServices.DispId(913)>]
abstract member CanAddReferenceToFile : string -> bool
Public Function CanAddReferenceToFile (Path As String) As Boolean

参数

Path
String

指向引用的路径。

返回

Boolean

true 如果可以添加文件引用,则为; 否则为。否则为 false

属性

适用于