StandardTableKeyNames.ProjectGuid 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含错误的项目的 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。
如果在 或 ITableEntriesSnapshot中ITableEntry“预装”Guid具有成员变量,性能将得到改善:
private object boxedProjectGuid = projectGuid;
并返回 boxedProjectGuid 而不是 projectGuid。