Partager via


DocumentationCommentId.GetFirstSymbolForDeclarationId Méthode

Définition

Obtient le premier symbole de déclaration qui correspond à la chaîne d’ID de déclaration, ordre non défini.

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

Paramètres

id
String
compilation
Compilation

Retours

S’applique à