Class LogEventPropertyValue
The value associated with a LogEventProperty. Divided into scalar, sequence and structure values to direct serialization into various formats.
public abstract class LogEventPropertyValue : IFormattable- Inheritance
- 
      
      LogEventPropertyValue
- Implements
- Derived
- Inherited Members
Constructors
LogEventPropertyValue()
protected LogEventPropertyValue()Methods
Render(TextWriter, string?, IFormatProvider?)
Render the value to the output.
public abstract void Render(TextWriter output, string? format = null, IFormatProvider? formatProvider = null)Parameters
- outputTextWriter
- The output. 
- formatstring
- A format string applied to the value, or null. 
- formatProviderIFormatProvider
- A format provider to apply to the value, or null to use the default. 
- See Also
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
- string
- A string that represents the current object. 
ToString(string?, IFormatProvider?)
Formats the value of the current instance using the specified format.
public string ToString(string? format, IFormatProvider? formatProvider)Parameters
- formatstring
- The format to use.-or- A null reference (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation. 
- formatProviderIFormatProvider
- The provider to use to format the value.-or- A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system. 
Returns
- string
- The value of the current instance in the specified format.