Click or drag to resize

VisualBasicExtensionsGetDirectives Method



Namespace:  Microsoft.CodeAnalysis.VisualBasic
Assembly:  Microsoft.CodeAnalysis.VisualBasic (in Microsoft.CodeAnalysis.VisualBasic.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static IList GetDirectives(
	this void node,
	DirectiveTriviaSyntax filter = null
)

Parameters

node
Type: SystemVoid
filter (Optional)
Type: Microsoft.CodeAnalysis.VisualBasic.SyntaxDirectiveTriviaSyntax

Return Value

Type: IListT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Void. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also