StandardTableKeyNames.ProjectGuid Field

Definition

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.

Applies to