Share via


CompilationUnitSyntax.GetLoadDirectives Method

Definition

Returns #load directives specified in the compilation.

public:
 System::Collections::Generic::IList<Microsoft::CodeAnalysis::CSharp::Syntax::LoadDirectiveTriviaSyntax ^> ^ GetLoadDirectives();
public System.Collections.Generic.IList<Microsoft.CodeAnalysis.CSharp.Syntax.LoadDirectiveTriviaSyntax> GetLoadDirectives ();
member this.GetLoadDirectives : unit -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.CSharp.Syntax.LoadDirectiveTriviaSyntax>
Public Function GetLoadDirectives () As IList(Of LoadDirectiveTriviaSyntax)

Returns

Applies to