TraceDictionary(TKey, TValue) Method
| Microsoft.Activities.Extensions |
| TrackingHelper..::..TraceDictionary<(Of <(<'TKey, TValue>)>)> Method |
| TrackingHelper Class See Also Send Feedback |
Traces the contents of a dictionary
Namespace: Microsoft.Activities.Extensions.Tracking
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)
Syntax
| C# |
|---|
public static void TraceDictionary<TKey, TValue>( StringBuilder stringBuilder, IDictionary<TKey, TValue> dictionary, string name, bool indent = true ) |
| Visual Basic |
|---|
Public Shared Sub TraceDictionary(Of TKey, TValue) ( _ stringBuilder As StringBuilder, _ dictionary As IDictionary(Of TKey, TValue), _ name As String, _ Optional indent As Boolean = True _ ) |
| Visual C++ |
|---|
public: generic<typename TKey, typename TValue> static void TraceDictionary( StringBuilder^ stringBuilder, IDictionary<TKey, TValue>^ dictionary, String^ name, bool indent = true ) |
Parameters
- stringBuilder
- Type: System.Text..::..StringBuilder
The string builder to write to.
- dictionary
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'TKey, TValue>)>)>
The dictionary.
- name
- Type: System..::..String
The name of the dictionary.
- indent (Optional)
- Type: System..::..Boolean
true to indent
Type Parameters
- TKey
- The type of the key
- TValue
- The type of the value