StandardTableKeyNames.ProjectGuid Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ID of the project that contains the error.
public: System::String ^ ProjectGuid;
std::wstring ProjectGuid;
public const string ProjectGuid;
val mutable ProjectGuid : string
Public Const ProjectGuid As String
Field Value
Remarks
Expected data type is Guid; otherwise, null
if the error belongs to more than one project.
Use IVsSolution.GetGuidOfProject to get the project's Guid from an IVsHierarchy.
Performance will be improved if you "prebox" your Guid by, in your ITableEntry or ITableEntriesSnapshot, having a member variable:
private object boxedProjectGuid = projectGuid;
and returning boxedProjectGuid instead of projectGuid.