IVsRegisterProjectTypes.UnregisterProjectType(UInt32) 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.
Unregisters a project type.
public:
int UnregisterProjectType(System::UInt32 dwCookie);
public:
int UnregisterProjectType(unsigned int dwCookie);
int UnregisterProjectType(unsigned int dwCookie);
public int UnregisterProjectType (uint dwCookie);
abstract member UnregisterProjectType : uint32 -> int
Public Function UnregisterProjectType (dwCookie As UInteger) As Integer
Parameters
- dwCookie
- UInt32
[in] Abstract handle returned from the environment when the project type was registered by the call to the RegisterProjectType(Guid, IVsProjectFactory, UInt32) method.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.