Open sandboxFocus

Method TryGetProperty

TryGetProperty(string, out string?)

Gets the set of properties passed from MSBuild. To expose an MSBuild property to this collection, define the CompilerVisibleProperty item.

Declaration
bool TryGetProperty(string name, out string? value)
Parameters
Type Name Description
string name
string value
Returns
Type Description
bool
See Also