IVsSolutionEvents6::OnAfterProjectRegisteredInRunningDocumentTable Method (Guid, String^, UInt32)

 

The notification that is fired during project creation, after the solution has registered the project file in the RunningDocumentTable. This event can be used to find out the docCookie value that was assigned to the project in the RDT. Note: If the solution's call to RegisterAndLockDocument failed, then docCookie will be VSCOOKIE_NIL. Clients of this event are expected to explicitly recognize this case and react accordingly. For example, a client may want to re-register their project placeholder document in the RDT.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)

int OnAfterProjectRegisteredInRunningDocumentTable(
	Guid projectID,
	String^ projectFullPath,
	unsigned int docCookie
)

Parameters

projectID
Type: System::Guid

The project ID.

projectFullPath
Type: System::String^

The full path of the project file.

docCookie
Type: System::UInt32

The doc cookie in the RunningDocumentTable.

Return Value

Type: System::Int32

The HRESULT.

Return to top
Show: