CoreAutomationRegistrar.UnregisterAnnotationType 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 custom annotation type that was previously registered for text ranges with RegisterAnnotationType(System.Guid).
public:
static void UnregisterAnnotationType(AutomationAnnotationTypeRegistration registration);
static void UnregisterAnnotationType(AutomationAnnotationTypeRegistration const& registration);
public static void UnregisterAnnotationType(AutomationAnnotationTypeRegistration registration);
function unregisterAnnotationType(registration)
Public Shared Sub UnregisterAnnotationType (registration As AutomationAnnotationTypeRegistration)
Parameters
- registration
- AutomationAnnotationTypeRegistration
A registration object returned by RegisterAnnotationType(System.Guid).
Remarks
An annotation type registration lasts as long as the process for which it was registered. You can call this method, or let the registration expire with the process for which it was registered.
If the same annotation type is registered more than once, this method must be called for each.