Returns the AnnotationService associated with a specified text container.

Namespace: FirstFloor.Documents.Annotations
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static AnnotationService GetService(
	ITextContainer container
)
Visual Basic
Public Shared Function GetService ( _
	container As ITextContainer _
) As AnnotationService
Visual C++
public:
static AnnotationService^ GetService(
	ITextContainer^ container
)

Parameters

container
Type: FirstFloor.Documents..::..ITextContainer
The container.

Return Value

The associated AnnotationService.

See Also