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.
Revokes a registered class object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Function RevokeClassObject ( _
dwCookie As UInteger _
) As Integer
'Usage
Dim instance As ILocalRegistry4
Dim dwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.RevokeClassObject(dwCookie)
int RevokeClassObject(
uint dwCookie
)
int RevokeClassObject(
unsigned int dwCookie
)
abstract RevokeClassObject :
dwCookie:uint32 -> int
function RevokeClassObject(
dwCookie : uint
) : int
Parameters
- dwCookie
Type: System.UInt32
The class object to revoke.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Call this method to remove the final reference on the registered object. If you neglect to call this before CoUninitialize, then COM will automatically clean up for you.
COM Signature
From vsshell90.idl:
HRESULT RevokeClassObject(
DWORD dwCookie
);
.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.