IVsSolutionEvents6.OnAfterProjectRegisteredInRunningDocumentTable Method
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 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.
public:
int OnAfterProjectRegisteredInRunningDocumentTable(Guid projectID, System::String ^ projectFullPath, System::UInt32 docCookie);
public int OnAfterProjectRegisteredInRunningDocumentTable (Guid projectID, string projectFullPath, uint docCookie);
abstract member OnAfterProjectRegisteredInRunningDocumentTable : Guid * string * uint32 -> int
Public Function OnAfterProjectRegisteredInRunningDocumentTable (projectID As Guid, projectFullPath As String, docCookie As UInteger) As Integer
Parameters
- projectID
- Guid
The project ID.
- projectFullPath
- String
The full path of the project file.
- docCookie
- UInt32
The doc cookie in the RunningDocumentTable.
Returns
The HRESULT.