StandardTableKeyNames.ProjectGuid 字段

定义

包含错误的项目的 ID。

public: System::String ^ ProjectGuid;
std::wstring ProjectGuid;
public const string ProjectGuid;
val mutable ProjectGuid : string
Public Const ProjectGuid As String 

字段值

注解

预期的数据类型为 Guid;否则, null 如果错误属于多个项目,则为 。

使用 IVsSolution.GetGuidOfProject 从 IVsHierarchy 获取项目的 Guid。

如果在 或 ITableEntriesSnapshotITableEntry“预装”Guid具有成员变量,性能将得到改善:

private object boxedProjectGuid = projectGuid;

并返回 boxedProjectGuid 而不是 projectGuid。

适用于