VCReferences.CanAddReferenceToFile(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个值,该值指示是否要添加给定的文件引用。
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
指向引用的路径。
返回
true 如果可以添加文件引用,则为; 否则为。否则为 false 。
- 属性