共用方式為


CompilationUnitSyntax.GetReferenceDirectives 方法

定義

傳回編譯中指定的#r指示詞。

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

傳回

適用於