DocumentationCommentId.GetFirstSymbolForDeclarationId 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得符合宣告識別碼字串、順序未定義的第一個宣告符號。
public:
static Microsoft::CodeAnalysis::ISymbol ^ GetFirstSymbolForDeclarationId(System::String ^ id, Microsoft::CodeAnalysis::Compilation ^ compilation);
public static Microsoft.CodeAnalysis.ISymbol GetFirstSymbolForDeclarationId (string id, Microsoft.CodeAnalysis.Compilation compilation);
public static Microsoft.CodeAnalysis.ISymbol? GetFirstSymbolForDeclarationId (string id, Microsoft.CodeAnalysis.Compilation compilation);
static member GetFirstSymbolForDeclarationId : string * Microsoft.CodeAnalysis.Compilation -> Microsoft.CodeAnalysis.ISymbol
Public Shared Function GetFirstSymbolForDeclarationId (id As String, compilation As Compilation) As ISymbol
參數
- id
- String
- compilation
- Compilation