Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Unregisters a project type.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function UnregisterProjectType ( _
dwCookie As UInteger _
) As Integer
'Usage
Dim instance As IVsRegisterProjectTypes
Dim dwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.UnregisterProjectType(dwCookie)
int UnregisterProjectType(
uint dwCookie
)
int UnregisterProjectType(
[InAttribute] unsigned int dwCookie
)
abstract UnregisterProjectType :
dwCookie:uint32 -> int
function UnregisterProjectType(
dwCookie : uint
) : int
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.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsRegisterProjectTypes Interface