DocumentationCommentId.GetFirstSymbolForReferenceId 方法

定义

获取与引用 ID 字符串(未定义顺序)匹配的第一个符号。

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

返回

适用于