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

AnnotationRepositoryTask.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#
public void RemoveAnnotation(
	IAnnotationInstance instance
)

Parameters

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

Implements

IAnnotationRepositoryService.RemoveAnnotation(IAnnotationInstance)
See Also