Serilog.Parsing.PropertyToken.TryGetPositionalValue C# (CSharp) Method

TryGetPositionalValue() public method

Try to get the integer value represented by the property name.
public TryGetPositionalValue ( int &position ) : bool
position int The integer value, if present.
return bool
        public bool TryGetPositionalValue(out int position)
        {
            if (_position == null)
            {
                position = 0;
                return false;
            }

            position = _position.Value;
            return true;
        }