共用方式為


DocumentationCommentId.GetSymbolsForDeclarationId(String, Compilation) Method

Definition

Gets all declaration symbols that match the declaration id string

public:
 static System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ISymbol ^> GetSymbolsForDeclarationId(System::String ^ id, Microsoft::CodeAnalysis::Compilation ^ compilation);
public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol> GetSymbolsForDeclarationId (string id, Microsoft.CodeAnalysis.Compilation compilation);
static member GetSymbolsForDeclarationId : string * Microsoft.CodeAnalysis.Compilation -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol>
Public Shared Function GetSymbolsForDeclarationId (id As String, compilation As Compilation) As ImmutableArray(Of ISymbol)

Parameters

id
String
compilation
Compilation

Returns

Applies to