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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for