Version

GetAnnotations(Type) Method

Returns an enumerator for all annotation values of a specific type of the node.
Syntax
'Declaration
 
Public Overloads Function GetAnnotations( _
   ByVal annotationType As Type _
) As IEnumerable(Of SyntaxAnnotation)
public IEnumerable<SyntaxAnnotation> GetAnnotations( 
   Type annotationType
)

Parameters

annotationType
The type of annotations to get. All returned instances will be of type or derived from type.

Return Value

An enumerator for all annotation values of a specific type of the node.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when annotationType is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also