Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Project / IProject / Try­Get­Property

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
Boolean
See Also