IVsRegisterProjectTypes::UnregisterProjectType Method (UInt32)
Visual Studio 2015
Unregisters a project type.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dwCookie
-
Type:
System::UInt32
[in] Abstract handle returned from the environment when the project type was registered by the call to the RegisterProjectType method.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsRegisterProjectTypes::UnregisterProjectType(
[in] VSCOOKIE dwCookie
);
The UnreigsterProjectType method is called in Close method. This indicates that the project factory passed to the environment during the RegisterProjectType is no longer available.
Show: