PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / IAnnotation­Repository­Service Interface / IAnnotation­Repository­Service Methods / IAnnotation­Repository­Service.​Remove­Annotation Method

IAnnotationRepositoryService.RemoveAnnotation Method

Removes a custom attribute instance from the current repository.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
void RemoveAnnotation(
	IAnnotationInstance instance
)

Parameters

instance
Type: PostSharp.Sdk.CodeModel.IAnnotationInstance
The custom attribute instance to remove.
See Also