VCReferences.CanAddProjectReferenceByIdentifier(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个值,该值指示是否要通过使用给定项目的唯一标识符对其进行引用来添加此项目引用。
public:
bool CanAddProjectReferenceByIdentifier(System::String ^ Identifier);
public:
bool CanAddProjectReferenceByIdentifier(Platform::String ^ Identifier);
bool CanAddProjectReferenceByIdentifier(std::wstring const & Identifier);
[System.Runtime.InteropServices.DispId(911)]
public bool CanAddProjectReferenceByIdentifier (string Identifier);
[<System.Runtime.InteropServices.DispId(911)>]
abstract member CanAddProjectReferenceByIdentifier : string -> bool
Public Function CanAddProjectReferenceByIdentifier (Identifier As String) As Boolean
参数
- Identifier
- String
程序集的唯一标识符。
返回
true 如果可以添加程序集引用,则为 false 。
- 属性