共用方式為


DocumentationCommentId.GetFirstSymbolForReferenceId 方法

定義

取得符合參考識別碼字串、順序未定義的第一個符號。

public:
 static Microsoft::CodeAnalysis::ISymbol ^ GetFirstSymbolForReferenceId(System::String ^ id, Microsoft::CodeAnalysis::Compilation ^ compilation);
public static Microsoft.CodeAnalysis.ISymbol GetFirstSymbolForReferenceId (string id, Microsoft.CodeAnalysis.Compilation compilation);
public static Microsoft.CodeAnalysis.ISymbol? GetFirstSymbolForReferenceId (string id, Microsoft.CodeAnalysis.Compilation compilation);
static member GetFirstSymbolForReferenceId : string * Microsoft.CodeAnalysis.Compilation -> Microsoft.CodeAnalysis.ISymbol
Public Shared Function GetFirstSymbolForReferenceId (id As String, compilation As Compilation) As ISymbol

參數

id
String
compilation
Compilation

傳回

適用於