Workspace.GetDeclaration Method
GetDeclaration(string, string, string, bool)
Gets a declaration in the current subset.
Declaration
public IDeclaration GetDeclaration(string projectName, string targetFramework, string declarationId, bool metalamaOutput)
Parameters
Type | Name | Description |
---|---|---|
string | projectName | Path of the project. |
string | targetFramework | Target framework, or an empty string. |
string | declarationId | Serialized identifier of the declaration obtained with ToSerializableId(). |
bool | metalamaOutput |
Returns
Type | Description |
---|---|
IDeclaration |