'Declaration
Public Function AddValue( _ ByVal name As String, _ ByVal type As Type, _ ByVal summaryFunction As SummaryFunction, _ ByVal unitCaption As String, _ ByVal caption As String, _ ByVal description As String _ ) As EventMetricValueDefinition
public EventMetricValueDefinition AddValue( string name, Type type, SummaryFunction summaryFunction, string unitCaption, string caption, string description )
Parameters
- name
- The unique name for this value column definition.
- type
- The simple type of this value (e.g. typeof(int) or typeof(string)).
- summaryFunction
- The default way that individual samples of this value column can be aggregated to create a graphable summary. (Use SummaryFunction.Count for non-numeric types.)
- unitCaption
- A displayable caption for the units this value represents, or null for unit-less values.
- caption
- The end-user display caption for this value column.
- description
- The end-user description for this value column.
Return Value
The newly created value column definition.