TokenFunction.GetInnerTemplate Method

Returns the template in between the paratheses for a token function. Expecting tokens in this format: {keyvalue(myKey1)}.

Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

protected virtual string GetInnerTemplate(
    int startPos,
    string message
)
'Declaration
Protected Overridable Function GetInnerTemplate ( 
    startPos As Integer,
    message As String
) As String
protected:
virtual String^ GetInnerTemplate(
    int startPos, 
    String^ message
)

Parameters

  • startPos
    Type: System.Int32
    Start index to search for the next token function.
  • message
    Type: System.String
    Message template containing tokens.

Return Value

Type: String
Inner template of the function.

See Also

TokenFunction Class

TokenFunction Members

Microsoft.Practices.EnterpriseLibrary.Logging.Formatters Namespace