PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Logging­Properties­Expression­Model Structure / Logging­Properties­Expression­Model Properties / Logging­Properties­Expression­Model.​Item Property

LoggingPropertiesExpressionModel.Item Property

Returns the value of the logging property with the given name, or null if there is no such logging property.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public Object this[
	string key
] { get; }

Parameters

key
Type: System.String
Name of a logging property.

Property Value

Type: Object
See Also